-
Set up a WSL distro to access the podman machine following the official podman desktop documentation. » accessing podman from another wsl instance
podman-remote and docker-cli are interchangeable here -
clone repo into the wsl distro
-
run the compose file
-
inspect the container file system and see the
fileis missingthe folder structure following the
sourceattributes has been created on the podman-machine after the path to the compose file.
note that the non-existent folderghost-folderhas been created too and did not cause an error as it should have. -
compose down
-
toggle comments in the compose file
-
run again
the folder structure created at 4. has been replicated on the container under the
targetpath.
theignoredfolder was not created at all.
podman desktop issue: 17675