Docker Common Commands

Source: Internet
Author: User
Tags docker ps

Common commands

Docker Tools
1, Docker info (list of containers, images, etc. summary information)

2. Docker login User/pw/email (/root/.docker/config.json)

Docker mirroring related
2. Docker images (list image)
3. Docker RMI Image name (delete image)

3. Docker tag ' id ' ' user '/' image ': ' Tag ' (mirror tag)
3. Docker Pull/push image name (remote library)

4. Docker History Image Name

Docker container related
2. Docker ps-a-L (list containers)
5. Docker RM Container name ()
3. Docker RM ~docker ps-a-q~ (remove all containers)
3. Docker logs-f container name (information in the print container)
4. Docker inspect container name (depth information)

5. Docker start/stop Container Name

6. Docker exec-it Id/name/bin/bash (Enter the container and open the terminal)

3. Docker top container Name (lists process information running in the container)

Docker Common Commands

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.