-
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
docker cannot run because of "container no such file or directory" #9066
Comments
The error message would seem to indicate that there is something missing in the container, which your image is attempting to run. What does |
|
The start-database.sh come from http://www.nkode.io/2014/09/12/easymysql.html You can see what is inside it here : https://github.com/nkratzke/EasyMySQL/blob/master/start-database.sh |
Problem solved, it was a line-ending problem in the sh files... |
@davinkevin please close the issue if it is resolved. |
I don't have the right to close the issue, @anthonyvialleton has to do it I think. |
oops sorry - for some reason I thought you opened it - totally misread it :-) |
Can anyone clarify what the line-ending problem was? I'm getting a similar behavior with a binary file and can't figure out how to fix it. |
for anyone else ending up here from google.. I edited my docker file on a windows machine but the cryptic error message I removed all new lines at end of file and changed line endings in sublime text |
Thanks @abacaj Your post was very helpful! |
I'm unable to start my container after build and I got :
Here is my Docker file :
And my sh script only does :
uname -a command returns :
Linux boot2docker 3.16.4-tinycore64 #1 SMP Tue Oct 14 01:10:32 UTC 2014 x86_64 GNU/Linux
docker info command returns :
Containers: 0
Images: 21
Storage Driver: aufs
Root Dir: /mnt/sda1/var/lib/docker/aufs
Dirs: 21
Execution Driver: native-0.2
Kernel Version: 3.16.4-tinycore64
Operating System: Boot2Docker 1.3.0 (TCL 5.4); master : a083df4 - Thu Oct 16 17:05:03 UTC 2014
Debug mode (server): true
Debug mode (client): false
Fds: 11
Goroutines: 12
EventsListeners: 0
Init Path: /usr/local/bin/docker
docker version command returns :
Client version: 1.3.0
Client API version: 1.15
Go version (client): go1.3.3
Git commit (client): c78088f
OS/Arch (client): linux/amd64
Server version: 1.3.0
Server API version: 1.15
Go version (server): go1.3.3
Git commit (server): c78088f
The text was updated successfully, but these errors were encountered: