2020
10-08
10-08
如何查看docker run启动参数命令(推荐)
通过runlike去查看一个容器的dockerrun启动参数安装pipyuminstall-ypython-pip安装runlikepipinstallrunlike查看dockerrun参数发布一个容器[root@docker01~]#dockerrun-d-v/data/nginx_test2:/data_volume_test2-v/etc/hosts:/etc/hosts-p8080:80--namenginx105nginx:1.17#发布容器[root@docker01~]#netstat-lntup|grep'8080'#映射到本地的端口tcp600:::8080:::*LISTEN5153/docker...
继续阅读 >