I created docker a docker image of a spring boot application using the below command
docker build -f Dockerfile -t myimage
once i run the command "docker images" I see that image. Now I want to get that image out my local machine and run on another machine using the below command.
docker run -p 8085:8085 myimage
What are the steps to relocate docker image to another machine over a physical medium?
/var/lib/docker/images/overlay2/imagedb/content
but that local contain .txt files of 6KB. I know normally a docker image is around 600MB in size.
Could anyone please help me to find the exact location.
Thank you
/var/lib/docker
for anything. Good options includedocker push
the image to some registry, check out your source repository anddocker build
on the target machine, ordocker save
/docker load
.