-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCI runtime create failed after update to 17.12.0-ce-win46 #35978
Comments
Same issue here. After resetting credentials for shared drives (Docker Settings > Shared Drives), it seems to work again. |
Hi ow are you starting the container? If this used to work, the it sounds like something changed on the filesystem... Maybe the path is gone and now docker created a dir there (which is the expected behavior). |
I've seen some reports of bind-mounts using the wrong path on Docker for Mac and Docker for Windows, causing directories to be created instead of the file being mounted (see docker/for-win#1501, docker/for-win#1521); possibly related? |
We have a potentially similar problem. The command
used to mount a password file into the image container using docker for windows 17.09.0-ce.
diagnostic EFAF41EC-91DA-46B4-8FFD-9A1D9F2306A6/2018-01-15_14-05-26 docker info Containers: 1 |
The original issue (bind-mounting @schlemmge your issue may be one of the issues I linked to in my comment. Given that this is an issue with Docker for Mac / Docker for Windows, I'll close the issue here, because the problem is not in the code that's maintained in this repository, but feel free to continue the conversation 👍 |
Description
Starting containers with
docker-compose up
always results in OCI runtime error, but we never had such problems in version 17.09.0-ce-win32 (so downgrading back to 17.09.0-ce-win32 actually helped to resolve the problem right away). Tried to upgrade downgrade couple times with the same results.Steps to reproduce the issue:
In this case it was really just about pulling our keycloak image from our private nexus repo, into which I was logged during the process.
Describe the results you received:
Cannot start service keycloak: OCI runtime create failed: container_linux.go:296: starting container process caused "process_linux.go:398: container init caused \"rootfs_linux.go:58: mounting \\\"/etc/localtime\\\" to rootfs \\\"/var/lib/docker/overlay2/69cf1d19a0466351fee8c347aa94780338db98a29cb298b8807578b12ab758b0/merged\\\" at \\\"/var/lib/docker/overlay2/69cf1d19a0466351fee8c347aa94780338db98a29cb298b8807578b12ab758b0/merged/usr/share/zoneinfo/UTC\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
Describe the results you expected:
Image being pulled and container started.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
physical
The text was updated successfully, but these errors were encountered: