Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"oci runtime error: could not synchronise with container process: not a directory" on remote host #23474
When I try to run the following command on Docker running locally and natively, as described in official Nginx image, it works as expected:
Mounted config is just a copy of the initial configuraion found in the image:
However, when I try to run it on Docker running remotely, either created as local Virtualbox Docker Machine or on remote server, I get the following error:
The error is not present when I run the same command without a volume mount.
Additional environment details (AWS, VirtualBox, physical, etc.):
Machine freshly created with:
Also happens on AWS Ubuntu 14.04 LTS and bare-metal Debian 8.4 server.
Steps to reproduce the issue:
Describe the results you expected:
No output, container properly started and responding on port 8080.
Additional information you deem important (e.g. issue happens only occasionally):
It does not happen when running the same command on local / native docker daemon.
Might be related to #21702.
The problem I had was when Docker was running on a remote machine, I was connecting to it via Docker Machine (