I'ld like to extract a file from a Docker image without having to run the image.
The docker save
option is not currrently a viable option for me as it's saving too huge of a file just to un-tar a specific file.
docker
I'ld like to extract a file from a Docker image without having to run the image.
The docker save
option is not currrently a viable option for me as it's saving too huge of a file just to un-tar a specific file.
Best Answer
You can extract files from an image with the following commands:
According to the
docker create
documentation, this doesn't run the container:For reference (my previous answer), a less efficient way of extracting a file from an image is the following: