Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, external folders can be linked to internal Docker folders when the container initializes automatically during bootup using the Docker volume option.

For example, to mount the external folder /home/user/data to the internal folder /app/data on container startup, you can use the following command:

docker run -v /home/user/data:/app/data image_name

This will create a Docker volume that links the external folder to the internal folder and configure the container to use it during startup.