Docker run common commands and troubleshooting Ubuntu images unrecognized ifconfig ping command

Source: Internet
Author: User
Tags docker ps docker run

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.