Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]How can I install the docker part of the container in casaos on the /mnt mounted drive instead of the /data mounted drive #507

Open
bluehysteric opened this issue Sep 2, 2022 · 9 comments
Labels
appsetting bug Something isn't working P3

Comments

@bluehysteric
Copy link

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.

@bluehysteric bluehysteric added the bug Something isn't working label Sep 2, 2022
@Hedius
Copy link

Hedius commented Sep 2, 2022

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.

@Hedius Hedius changed the title [Bug] Problemas con las unidades montadas en casaos [Bug] Problems with home-mounted drives Sep 2, 2022
@bluehysteric
Copy link
Author

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.

@Hedius
Copy link

Hedius commented Sep 2, 2022

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.

@Hedius
Copy link

Hedius commented Sep 2, 2022

You have to map the local path into the container.

@bluehysteric
Copy link
Author

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?

@bluehysteric
Copy link
Author

image
The drives mounted under /mnt are not visible here

@bluehysteric bluehysteric changed the title [Bug] Problems with home-mounted drives [Bug]How can I install the docker part of the container in casaos on the /mnt mounted drive instead of the /data mounted drive Sep 3, 2022
@JohnGuan JohnGuan moved this to Need Triage (PM) in CasaOS Issues Sep 5, 2022
@JohnGuan
Copy link
Member

You can try entering the path directly

@JohnGuan JohnGuan assigned ETWang1991 and unassigned JohnGuan Sep 22, 2022
@ETWang1991 ETWang1991 moved this from Need Triage (QA+PM) to Future in CasaOS Issues Nov 4, 2022
@tigerinus
Copy link
Contributor

@bluehysteric - since v0.3.8 new storage is mounted under /media - is this what you were looking for?

@ETWang1991 ETWang1991 removed their assignment Jun 28, 2023
@jerrykuku
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appsetting bug Something isn't working P3
Projects
Status: Future
Development

No branches or pull requests

6 participants