Where is docker image location in Windows 10?

前端 未结 13 1627
慢半拍i
慢半拍i 2020-12-08 09:06

I\' using Windows 10 Home operating system. I have installed Docker toolbox.

I have created docker image of my .net core application by using following command.

<
13条回答
  •  借酒劲吻你
    2020-12-08 09:56

    To to ship this image, to another machine :

    docker ps -a  
    #or docker container ls -a
    docker commit  mynewimage
    #start here if you never started your image 
    #(ex: if just created using docker build -t helloWorld:core .)
    docker image ls
    docker save mynewimage > /tmp/mynewimage.tar
    

    On the other machine:

    docker load < /tmp/mynewimage.tar
    docker images
    

    As explained in comments above, when working on windows with linux containers, containers resides within the docker disk image located at DockerDesktop/settings/advanced/DiskImageLocation

    see here

提交回复
热议问题