D
Dokploy•8mo ago
vladoo

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?
No description
12 Replies
vladoo
vladooOP•8mo ago
No description
Siumauricio
Siumauricio•8mo ago
can you check inside the container and see what contains the /apps/src?
vladoo
vladooOP•8mo ago
No description
Siumauricio
Siumauricio•8mo ago
so you are trying to copy data from container to the host?
vladoo
vladooOP•8mo ago
For now, I just want to see the files so that I can edit them outside the container.
vladoo
vladooOP•8mo ago
This is a screenshot from docker inspect. Is it supposed to be like this or am I doing something wrong?
No description
Siumauricio
Siumauricio•8mo ago
is not possible to copy files from container to host only host to container
vladoo
vladooOP•8mo ago
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...
vladoo
vladooOP•8mo ago
Does this look like my mounts section from dokploy in the previous screenshot?
No description
vladoo
vladooOP•8mo ago
When I was talking about viewing files from the container from the host machine, I was talking about that 🙂
No description
No description
No description
Siumauricio
Siumauricio•8mo ago
Nice you find a workaround!
vladoo
vladooOP•8mo ago
I did it directly through docker, creating my image. Is there no way I can do it with Dokploy?

Did you find this page helpful?