Have you failed a job interview?
Send us your job interview questions and get correct answers.

How do you export a Docker image to a zip file?

Experience Level: Junior
Tags: DockerDocker CLI

Answer

Use the following command:

docker save -o <zip-file-name> <image-name>

Comments

No Comments Yet.
Be the first to tell us what you think.
Docker for beginners
Docker for beginners

Are you learning Docker ? Try our test we designed to help you progress faster.

Test yourself