ecbfe73193
There was a discrepancy between what `ParseTCPAddr()` accepted, and what the daemon was able to use, resulting in the daemon to start, but fail to create listeners for the specified host. Before this patch: dockerd -H tcp://127.0.0.1:2375/ INFO[2022-04-03T10:18:06.417502600Z] Starting up ... failed to load listeners: listen tcp: address tcp/2375/: unknown port dockerd -H 127.0.0.1:2375/path INFO[2022-04-03T10:18:06.417502600Z] Starting up ... failed to load listeners: listen tcp: address tcp/5555/path: unknown port After this patch: dockerd -H tcp://127.0.0.1:2375/ Status: invalid argument "tcp://127.0.0.1:2375/" for "-H, --host" flag: invalid bind address (127.0.0.1:2375/): should not contain a path element See 'dockerd --help'., Code: 125 dockerd -H 127.0.0.1:2375/path Status: invalid argument "127.0.0.1:2375/path" for "-H, --host" flag: invalid bind address (127.0.0.1:2375/path): should not contain a path element See 'dockerd --help'., Code: 125 Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
address_pools.go | ||
address_pools_test.go | ||
env.go | ||
env_test.go | ||
hosts.go | ||
hosts_test.go | ||
hosts_unix.go | ||
hosts_windows.go | ||
ip.go | ||
ip_test.go | ||
opts.go | ||
opts_test.go | ||
runtime.go | ||
ulimit.go | ||
ulimit_test.go |