On 17.06.23 at 05:00 Mehdi Haghgoo via Podman wrote:
Hi Johannes, Thanks for the idea. I tried using absolute path in docker-compose.yaml, but it fails to launch the container with "Permission Denied" error saying that it cannot mkdir /Users. This is strange because the /Users directory should already exist on Podman machine. This is not an issue on fedora by the way when I run docker-compose. Any ideas?
I have not used Podman machine, but IIRC it spins up a VM and then runs podman inside this VM. Not sure if it mounts the host's home directory (the one on your Mac) into the VM, so it can mount it into the container. Then I would try to use a named volume, without a path. This will work, I guess. But this does not get your local files into the container. Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537