May 2017
Beginner
300 pages
7h 26m
English
Earlier in the Data volume section, you learned that the Docker Engine automatically creates directories based on the VOLUME instruction in the Dockerfile as well as the -v option of the docker run subcommand. We also understood that the Docker Engine does not automatically delete these autogenerated directories in order to preserve the state of the application(s) run inside the container. We can force Docker to remove these directories using the -v option of the docker rm subcommand. This process of manual deletion poses two major challenges enumerated as follows:
Read now
Unlock full access