Can't mount folder from container to host machine
I'm trying to mount the
/app/src
folder from docker to /mnt/astro
on the host machine, but the folder itself doesn't show up. Even if I create the astro
folder manually, it's still empty. What could be the matter or what am I doing wrong?
12 Replies

can you check inside the container and see what contains the /apps/src?

so you are trying to copy data from container to the host?
For now, I just want to see the files so that I can edit them outside the container.
This is a screenshot from docker inspect. Is it supposed to be like this or am I doing something wrong?

is not possible to copy files from container to host
only host to container
Well, how can I make the container to store files on the host machine? I can't remember how, but I know it's possible because I've done it before...
Does this look like my
mounts
section from dokploy in the previous screenshot?
When I was talking about viewing files from the container from the host machine, I was talking about that 🙂



Nice you find a workaround!
I did it directly through docker, creating my image. Is there no way I can do it with Dokploy?