Solve docker 2375 Port Services (Ubuntu 18.04)

1, vim /lib/systemd/system/docker.service (preferably modified to make a backup)
2, find the "ExecStart", to modify the line:
ExecStart = / usr / bin / FD dockerd -H: -H // TCP: //0.0.0.0: 2375
Solve docker 2375 Port Services (Ubuntu 18.04)
. 3, systemctl daemon-reload
. 4, the sudo-Service Docker the restart
. 5, view port opening where
netstat -tunlp
Solve docker 2375 Port Services (Ubuntu 18.04)

Guess you like

Origin blog.51cto.com/709151/2406150