CasaOS
CasaOS copied to clipboard
[Bug]How can I install the docker part of the container in casaos on the /mnt mounted drive instead of the /data mounted drive
casaos monta el disco duro en /DATA por defecto, se puede montar en /mnt por defecto del sistema, normalmente se puede ver el disco duro montado en /mnt en casaos, pero al instalar docker no se pueden especificar algunas carpetas en el disco duro montado en /mnt.
From translate: asaos mounts the hard drive in /DATA by default, it can be mounted in /mnt by default of the system, normally you can see the hard disk mounted in /mnt in casaos, but when installing docker you can not specify some folders on the hard disk mounted in /mnt.
What do you mean with you cannot specify certain folders? Where are you trying to dot hat. Please provide additional information.
From translate: asaos mounts the hard drive in /DATA by default, it can be mounted in /mnt by default of the system, normally you can see the hard disk mounted in /mnt in casaos, but when installing docker you can not specify some folders on the hard disk mounted in /mnt.
What do you mean with you cannot specify certain folders?
For example, if I install Transmission, I need to specify a folder as the download directory, and I want to specify that the system automatically mounts the drive under /mnt, but it is not shown inside the directory, and since my Raspberry Pi is mounted on top of ssd, I can't use casaos' auto-mount feature.
Did you mount your local disk from /mnt to the docker container? As a docker volume?
Docker containers run their own isolated filesystem. During app creation you can define volumes.
You have to map the local path into the container.
You have to map the local path into the container.
There is no problem with casaos automounting when I am not using the system's automount. The reason is that the system will mount on /mnt and casaos will mount on /DATA, but casaos can't access mnt, do I need to map the drive to /data?
The drives mounted under /mnt are not visible here
You can try entering the path directly
@bluehysteric - since v0.3.8 new storage is mounted under /media - is this what you were looking for?
In the current version of CasaOS, external USB storage devices will be mounted in the /media directory, other storage devices will be mounted in the /mnt directory, and you can already select the contents of the /media or /mnt directory in the volume when installing a custom application. You can update the latest version to see if it solves your problem.