Skip to content
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

docker: Error response from daemon: oci runtime error #691

Closed
aldwindelgado opened this issue Aug 15, 2017 · 8 comments
Closed

docker: Error response from daemon: oci runtime error #691

aldwindelgado opened this issue Aug 15, 2017 · 8 comments

Comments

@aldwindelgado
Copy link

I'm currently encounter the title's specific error

error

I'm using

docker-ce: 17.05.0
Linux kernel @ 4.10.0-32-generic
Ubuntu 16.04 OS

@giany
Copy link

giany commented Oct 31, 2017

@aldwindelgado Did you solve this issue?

@aldwindelgado
Copy link
Author

@giany Hi, we just moved to another server hosting for the meantime, I encountered that error from Google Cloud's virtual machine specifically. So we're not yet sure if it is related to just google cloud itself. Because everything is running smoothly within our digital ocean servers.

@giany
Copy link

giany commented Oct 31, 2017

I'm on DO also, Ubuntu 16, 4.4.0-97-generic.
Docker version 17.09.0-ce, build afdb6d4

When deploying with mup it fails with the same error you had..but if I run the docker container manually it starts ok..

@aldwindelgado
Copy link
Author

@giany Maybe it is related to mup with regards to newer versions of docker. Did you try to revert to lower docker versions?

@zodern
Copy link
Owner

zodern commented Nov 2, 2017

@giany what command did you use to start the container?

@giany
Copy link

giany commented Feb 12, 2018

@zodern, sorry for delay. In the end I've passed multiple parameters to docker, e.g:

docker run -d --restart=always --volume=/opt/v2/tmp/:/bundle --publish=0.0.0.0:80:80 --hostname=v2 --env-file=/opt/v2/config/env.list --log-opt max-size=100m --log-opt max-file=10 --link=mongodb:mongodb --link=mongodb:mongodb --name=v2 mup_v2:latest

And the commit I pushed had these:


+        volumes: {
+            '/opt/volume_v2/tmp/': '/bundle'
+        },
 		docker: {
+            args: [
+                '--hostname=v2',
+                '--env-file=/opt/v2/config/env.list',
+                '--log-opt max-size=100m',
+                '--log-opt max-file=10',
+                '--link=mongodb:mongodb',
+                '--name=thoughtlounge_v2',
+                'mup-v2:latest'
+            ],

@hamxiaoz
Copy link

I have seen the error, and it might do so because of host name too long. I didn't dive deep into it but once I renamed my app name to a shorter name, the problem solved.

@zodern zodern added this to the 1.5.2 milestone Jul 10, 2020
@zodern
Copy link
Owner

zodern commented Jul 30, 2020

Docker has better error messages for this now, so I am going to close it. If anyone has an oci runtime error, please create a new issue.

@zodern zodern closed this as completed Jul 30, 2020
@zodern zodern removed this from the 1.5.2 milestone Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants