[[email protected] build-docker2]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
centos              httpd               e2d673f33b3f        44 hours ago        302MB
hello-world         hello               e2d673f33b3f        44 hours ago        302MB
centos              latest              75835a67d134        3 months ago        200MB
hello-world         latest              4ab4c602aa5e        4 months ago        1.84kB
pty-fine            1.0.0               d026d81807fc        8 months ago        753MB
pty-nginx           1.0.0               1ad7f4b9e21c        8 months ago        109MB
pty                 1.0.0               6110d1d646c6        8 months ago        753MB
pty-mysql           1.0.0               58da8d1bd0d3        9 months ago        430MB
[[email protected] build-docker2]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
centos              httpd               e2d673f33b3f        44 hours ago        302MB
hello-world         hello               e2d673f33b3f        44 hours ago        302MB
centos              latest              75835a67d134        3 months ago        200MB
hello-world         latest              4ab4c602aa5e        4 months ago        1.84kB
pty-fine            1.0.0               d026d81807fc        8 months ago        753MB
pty-nginx           1.0.0               1ad7f4b9e21c        8 months ago        109MB
pty                 1.0.0               6110d1d646c6        8 months ago        753MB
pty-mysql           1.0.0               58da8d1bd0d3        9 months ago        430MB
[[email protected] build-docker2]# docker save -o hello-word-image.tar hello-world/hello
Error response from daemon: No such image: hello-world/hello
[[email protected] build-docker2]# docker save -o hello-word-image.tar hello-world.io/hello-world:hello
Error response from daemon: reference does not exist
[[email protected] build-docker2]# cd 
[[email protected] ~]# docker save -o hello-word-image.tar hello-world.io/hello-world:hello
Error response from daemon: reference does not exist
[[email protected] ~]# docker save -o hello-word-image.tar hello-world/hello
Error response from daemon: No such image: hello-world/hello
[[email protected] ~]# docker save -o hello-word-image.tar hello-world
[[email protected] ~]# ls
docker.io-centos-httpd-docker-image.tar  hello-word-image.tar  rpmbuild
[[email protected] ~]# pwd
/root
[[email protected] ~]# 

如何导出dockers镜像

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
  • 2021-12-10
  • 2021-09-19
  • 2021-06-26
  • 2021-04-18
猜你喜欢
  • 2021-08-12
  • 2022-01-21
  • 2022-12-23
  • 2021-10-21
  • 2021-07-01
  • 2021-07-18
  • 2022-12-23
相关资源
相似解决方案