Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the basic commands of Docker

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

The editor will share with you what are the basic commands of Docker. I hope you will gain something after reading this article. Let's discuss it together.

I. system-related commands:

1.1 View the version information of docker: docker version

1.2 View docker system information: docker info

2. Commands related to image:

2.1search for images: docker search image_name

Download Image: docker pull image_name

2.3 View all local images: docker images

Among them, the parameters that can be used are:-a-- an is used to specify whether all mirrors are displayed.

2.4 Delete an existing image: docker rmi image_name/ id

2.5 View the historical information of the image: docker history image_name

2.6 Export the image and save it as a tar package:

?

1$ docker attach id

3.14 detach from a container

Ctrl-c

After reading this article, I believe you have a certain understanding of "what are the basic commands of Docker". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Original link: https://blog.csdn.net/chenriwei2/article/details/50250923

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report