In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Basic commands for Docker image operation
[root@localhost ~] # docker search image name / / search image (find it on the official website of docker Hub)
[root@localhost ~] # docker pull image name / / download image (if you do not specify an image label to download the latest version of the image by default)
[root@localhost ~] # docker push repository name / warehouse account / image name / upload image
[root@localhost ~] # docker images / / query all images downloaded locally
[root@localhost ~] # docker images image name / / query the specified image
[root@localhost ~] # docker inspect container name or container ID / / query image details
[root@localhost ~] # docker tag original image name and tag generated image name and tag / / create a new name and label for the local image (the source image still exists)
[root@localhost ~] # docker rmi image name or image ID / / Delete a local image
[root@localhost ~] # docker rmi image name or image ID / / forcibly delete a local image
/ / Note: the mandatory method applies when a container is using this image.
/ / if the container cannot be deleted at run time, and if it is deleted after the container stops, the container can still be used
[root@localhost ~] # docker save > the name of the file image generated by image
[root@localhost ~] # docker save-o Image name of file generated by image / / generate a new image file by image
[root@localhost ~] # docker load
< 镜像文件 [root@localhost ~]# docker load --i 镜像文件 //将本地的镜像文件生成为镜像 //建议:">"and"
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.