mirror of https://github.com/docker/docs.git
Merge pull request #20481 from HackToday/addcheckfd
Add check for non-systemd fd use case
This commit is contained in:
commit
dd53ab14e4
|
@ -59,7 +59,7 @@ func listenFD(addr string, tlsConfig *tls.Config) ([]net.Listener, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(listeners) == 0 {
|
if len(listeners) == 0 {
|
||||||
return nil, fmt.Errorf("No sockets found")
|
return nil, fmt.Errorf("No sockets found. Make sure the docker daemon was started by systemd.")
|
||||||
}
|
}
|
||||||
|
|
||||||
// default to all fds just like unix:// and tcp://
|
// default to all fds just like unix:// and tcp://
|
||||||
|
|
Loading…
Reference in New Issue