Docker run-it Docker front-end start Container container
-d back-end boot container container
-p Fixed port mappings
-p non-fixed port mappings
--name name the generated container
Docker PS: Default display of running container
Ps-a
Docker rm-f container//Forced removal of containers
docker exec -it centos/bin/bash interactive mode into container container
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A4/C9/wKioL1mxQS7Scn7vAAA0ez_6jgQ229.jpg-wh_500x0-wm_ 3-wmp_4-s_662063144.jpg "style=" Float:none; "title=" U=2331555423,3710225953&fm=27&gp=0.jpg "alt=" Wkiol1mxqs7scn7vaaa0ez_6jgq229.jpg-wh_50 "/>
650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/06/18/wKiom1mxQU-zzJVHAAAhv5H4sp4291.jpg-wh_500x0-wm_ 3-wmp_4-s_929900859.jpg "style=" Float:none; "title=" 8d77eea920741e21c6e97c4000a5c347.jpg "alt=" Wkiom1mxqu-zzjvhaaahv5h4sp4291.jpg-wh_50 "/>
Docker image Security ifconfig command and ping command
1 apt-get Update
2 apt Install net-tools installation ifconfig
3 apt Install iputils-ping installation ping
This article is from the "12402638" blog, please be sure to keep this source http://12412638.blog.51cto.com/12402638/1963523
Docker run common commands and troubleshooting Ubuntu images unrecognized ifconfig ping command