Docker: Choose the folder where running containers

  • Hi everyone,
    I wanted to have my application running in docker on a dedicated partition where I have a folder "Docker" with two subfolders: "Container" and "configuration".
    How should I set up the container to tell them that I want them to use the folder /docker/container?

    The Default value in "path" is /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin , so how should I edit it so that I can have them running in /docker/container?

    Intel G4400 - Asrock H170M Pro4S - 8GB ram - Be Quiet Pure Power 11 400 CM - Nanoxia Deep Silence 4 - 6TB Seagate Ironwolf - RAIDZ1 3x10TB WD - OMV 5 - Proxmox Kernel

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!