You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/compose/folder/myfile.txt" to rootfs at "/etc/folder/myfile.txt"
According the docker-compose specification the . should be resolved to the directory where the docker-compose.yml is located and not to the /compose directory.
The text was updated successfully, but these errors were encountered:
Relative paths in the
docker-compose.yml
are not resolved correctly. This is because the working directory inside the container defaults to/compose
.Given the following directory structure:
And the following
docker-compose.yml
file:Running
docker-compose
will result in an error:According the docker-compose specification the
.
should be resolved to the directory where thedocker-compose.yml
is located and not to the/compose
directory.The text was updated successfully, but these errors were encountered: