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
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:
docker: Error response from daemon: rpc error: code = 2 desc = "oci runtime error: could not synchronise with container process: not a directory".
The error is not present when I run the same command without a volume mount.
Output of docker version:
Client:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: Wed Jun 1 21:23:39 2016
OS/Arch: linux/amd64
Server:
Version: 1.11.2
API version: 1.23
Go version: go1.5.4
Git commit: b9f10c9
Built: Wed Jun 1 21:20:08 2016
OS/Arch: linux/amd64
Discovered while running official Piwik image using Docker Compose, but I was able to reproduce it using only nginx image with both Docker Compose and just Docker.
The text was updated successfully, but these errors were encountered:
Wait, I think I missed the fact that files and directories on local machine are not mounted on remote machine. Closing as obsolete, sorry for the noise.
@loomchild I'm also seeing this, but I don't understand what you mean by "files and directories on local machine are not mounted on remote machine"... didn't you do this with the -v flag?
The problem I had was when Docker was running on a remote machine, I was connecting to it via Docker Machine (eval "$(docker-machine env <hostname>)") and then executing docker run -v ... command. I was expecting that directories from my localhost will be mounted as volumes on Docker remote machine, but in fact the directories from a remote machine were mounted.
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.
Output of
docker version
:Output of
docker info
: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:
output:
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.
Discovered while running official Piwik image using Docker Compose, but I was able to reproduce it using only nginx image with both Docker Compose and just Docker.
The text was updated successfully, but these errors were encountered: