Skip to content

docker latest master branch exit immediately after starting without -H #16927

Closed
@coolljt0725

Description

If not specified a -H on docker daemon staring, the latest master branch docker daemon will exit immediately it should use default /var/run/docker.sock

root@ubuntu:/home/lei# docker -d -s overlay
Warning: '-d' is deprecated, it will be removed soon. See usage.
WARN[0000] please use 'docker daemon' instead.
INFO[0000] Option DefaultDriver: bridge
INFO[0000] Option DefaultNetwork: bridge
s.servers is [], len is 0
INFO[0000] Firewalld running: false
INFO[0000] Loading containers: start.

INFO[0000] Loading containers: done.
INFO[0000] Daemon has completed initialization
INFO[0000] Docker daemon                                 commit=c45ad0b-dirty execdriver=native-0.2 graphdriver=overlay version=1.9.0-dev
root@ubuntu:/home/lei#

seems it caused by #15753

s.servers is [], len is 0 in log I provided above is added for debug

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions