centos7下载docker:https://blog.csdn.net/qq_39997939/article/details/131005939
https://blog.csdn.net/liben0429/article/details/126858971
https://www.5axxw.com/questions/content/mc5fpt
打包镜像:
到jar所在目录执行命令docker build -t steel-model-data .
执行docker:
docker run -d -p 8030:8090 --name steel-model-data -e PROFILES=“pro” steel-model-data:latest
docker ps —>查看运行中的镜像
docker ps -a —>可以显示出包括未运行的所有容器
https://blog.csdn.net/weixin_39724194/article/details/129439227
https://www.python100.com/html/NARRB590H699.html
如何从主机同步文件到docker
https://xkzzz.com/post/107050.html
安装redis
https://blog.csdn.net/qq_42527269/article/details/130475009
修改redis密码
https://blog.csdn.net/weixin_52293201/article/details/131424745
https://blog.csdn.net/w598882992/article/details/127509962
https://www.cnblogs.com/elfin/p/17668066.html
如何迁移mysql数据库 mysql -u root -p steelmaking < /usr/local/steel/steelmaking_20230920_1.sql
mysql -u [用户名] -p [数据库名] < [文件路径] 导入进来
mysql -u root -p steelmaking < /usr/local/steel/steelmaking_20230920_1.sql
(Secure Copy) 是一种在 Linux 和 Unix 系统之间进行文件传输的方式
https://baijiahao.baidu.com/s?id=1764576377136456195&wfr=spider&for=pc