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 docker container mirroring commands

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

Share

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

This article mainly introduces "what are the docker container mirroring commands". In daily operations, I believe many people have doubts about the docker container mirroring commands. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "what are the docker container mirroring commands?" Next, please follow the editor to study!

1. Search for an image

Docker search # search for image in docker index

-automated=false displays only automatically created images

-no-trunc=false output information is displayed without truncation

-s 0 specifies that only mirrors rated as specified stars are displayed

two。 Download the image

Docker pull # drop image from docker registry server

You can also download an image by specifying a tag.

Docker pull [: TAG] docker pull centos:7

3. View Mirror / Delete

Docker images: # list images

Docker images-a # lists all images (including history)

Docker ps-a # lists all containers on this machine

Docker rmi: # Delete one or more image

4. Save out and load images

Save the local image file as .tar

Docker save-o ubuntu_14.04.tar ubuntu:14.04

Import mirrors to local mirror library

Docker load-input ubuntu_14.04.tar or docker load < ubuntu_14.04.tar

5. Upload image

Users can upload self-made images after registering on the dockerhub website.

Docker push NAME [: TAG]

At this point, the study of "what are the docker container mirroring commands" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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