G
G
Gleb Starkov2017-10-19 13:26:12
Docker
Gleb Starkov, 2017-10-19 13:26:12

How to save mount directory in docker image?

Created my image via docker build.
Mounted the directory from the host when docker run via -v
Made other changes
Committed and pushed the image
On a new start, without mounting this directory forcibly, via -v it is not inside the image.
How to make a directory persist in the image when committing?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question