-
Notifications
You must be signed in to change notification settings - Fork 22
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: container_linux.go #29
Comments
Was this using the image from Docker hub? |
Tests on my laptop pulling the latest image:
Using docker-machine with the virtualbox driver and the latest boot2docker. |
@Aamir010 This might also be related to these issues with Docker and systemd:
Could you give more background on your platform? |
Here's my Docker version. Client: Server: |
@leprechau Here is the steps we are performing.
FROM myena/consul-backinator ENTRYPOINT ["/usr/local/bin/consul-backinator backup -addr=10.0.1.50:8500 -file=s3://<my_access_key>:<my_secret_key>@<my_bucket_name>/consul_backup?region=us-west-2"]
And this will gives below error. docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: "/usr/local/bin/consul-backinator backup -file=s3://<my_access_key>:<my_secret_key>@<my_bucket_name>/consul_backup?region=us-west-2": stat /usr/local/bin/consul-backinator backup -file=s3://<my_access_key>:<my_secret_key>@<my_bucket_name>/consul_backup?region=us-west-2: no such file or directory" |
@Aamir010 That's not the proper format for the entrypoint setting. You are trying to tell docker to execute a process called: "/usr/local/bin/consul-backinator backup -file=s3://<my_access_key>:<my_secret_key>@<my_bucket_name>/consul_backup?region=us-west-2" which obviously doesn't exist. You either need to rebuild using the proper entry point format for a command and arguments OR just use the official docker hub image with arguments. Example:
References: https://docs.docker.com/engine/reference/builder/#entrypoint |
Thanks @leprechau it works. |
Can anyone please help me to resolve this error.
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: "/usr/local/bin/consul-backinator backup -file=consul.bak": stat /usr/local/bin/consul-backinator backup -file=consul.bak: no such file or directory"
The text was updated successfully, but these errors were encountered: