The Docker daemon can listen for Docker Remote API requests via three different types of Socket:
unix,
tcp, and
fd
unix :- /var/run/docker.sock (default)
tcp :- for remote access, support tls1.0 i.e.
-H tcp://0.0.0.0:2375 # for all IP address
-H tcp://192.168.59.103:2375 # specific IP address
*** Docker daemon: 2375 (non-secure), 2376 (
secure)
fd :- socket activated files i.e.
-H fd://
-H fd://3
Can specific multiple socket like this
dockerd -H
unix:///var/run/docker.sock -H
tcp://192.168.59.106 -H
tcp://10.10.10.2
No comments:
Post a Comment