docker安装redis
docker pull redis
docker run -itd --name redis -p 6379:6379 --restart=always redis
docker exec -it redis redis-cli
java连接redis必备依赖
https://mvnrepository.com/artifact/redis.clients/jedis/3.7.0
由于docker拉取的默认是最新版, 拉取指定版本tomcat,可以去tomcat官网查看现在稳定的版本
docker pull tomcat:8.5.72
https://blog.csdn.net/weixin_44520739/article/details/105150081
eclipse创建Maven项目:https://www.cnblogs.com/shushengyou/p/8471519.html