What is one way of directly transferring a Docker Image from one Docker host in another?

Posted by: Pdfprep Category: DCA Tags: , ,

What is one way of directly transferring a Docker Image from one Docker host in another?
A . ‘docker push’ the image to the IP address of the target host.
B . ‘docker commit’ to save the image outside of the Docker filesystem. Then transfer the file over to the target host and ‘docker start’ to start the container again.
C . There is no way of directly transferring Docker images between hosts. A Docker Registry must be used ad an intermediary.
D . ‘docker save’ the image to save it as TAR file and copy it over to the target host. Then use ‘docker load’ to un-TAR the image back as a Docker image.

Answer: D

Leave a Reply

Your email address will not be published.