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-run fails upon reboot #189

Open
paschdan opened this issue Feb 25, 2015 · 0 comments
Open

docker-run fails upon reboot #189

paschdan opened this issue Feb 25, 2015 · 0 comments
Labels

Comments

@paschdan
Copy link

in some cases the startup of docker itself is not yet finished when the docker-container should get started (upon reboot)

Then the boot.log shows something like this

 * Starting Docker daemon                                                [ OK ]
 * Stopping flush early job output to logs                               [ OK ]
 * Starting SystemD login management service                             [ OK ]
 * Starting configure virtual network devices                            [ OK ]
 * Starting Seed the pseudo random number generator on first boot        [ OK ]
 * Starting early crypto disks...                                        [ OK ]
 * Starting Bridge file events into upstart                              [ OK ]
 * Starting system logging daemon                                        [ OK ]
 * Starting Handle applying cloud-config                                 [ OK ]
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
 * Starting AppArmor profiles                                            [ OK ]
 * Stopping System V initialisation compatibility                        [ OK ]
 * Starting Seed the pseudo random number generator on first boot        [fail]
Starting docker-container:   FATA[0000] Post http:///var/run/docker.sock/v1.17/containers/create: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

What would be the best way to come around this issue except adding a sleep in the startup script?

This is a standard ubuntu 14.04 AMI on AWS.

@paschdan paschdan changed the title docker-run fails upon restart docker-run fails upon reboot Feb 25, 2015
@garethr garethr added the bug label Jan 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants