![](https://i-blog.csdnimg.cn/blog_migrate/a2b019df3704c12fb1ef8e7d07ca40a1.png)
镜像更新:
检查现有镜像版本,进一步内容版本--停止容器--移除容器--pull 镜像--用镜像创建容器
https://www.mend.io/free-developer-tools/blog/update-docker-images/
docker run -itd -v /home/test/:/test/ -v /mnt/:/mnt/
--shm-size 64G -P image
docker run options: -i -t -d -v -P
https://docs.docker.com/engine/reference/commandline/run/#options
-v:
![](https://i-blog.csdnimg.cn/blog_migrate/e8fae7750ce6f610c8c0cde2d87e2b88.png)
-d:
https://www.tecmint.com/run-docker-container-in-background-detached-mode/
![](https://i-blog.csdnimg.cn/blog_migrate/dd2ca536ec7d49d156a3290ba3f202f4.png)
--shm-size:
![](https://i-blog.csdnimg.cn/blog_migrate/0afb4fba2c7f0bcc5d40e6e2cd37d600.png)
-p:(lower case)