Docker Community Forums

Share and learn in the Docker community.

Can Docker listen to Unix Domain & Tcp together?


(Klaus1982) #1

Hi team,

Can Docker listen to Unix Domain & Tcp together? If so, how to configure it?


(Ranjandas) #2

Hi,

Yes Docker can listen to Unix Domain and TCP together. All you need to do is use the below option.

For version 1.8.x

docker daemon -H unix:// -H tcp://0.0.0.0:2375

for older version

docker -d -H unix:// -H tcp://0.0.0.0:2375

Regards


(Klaus1982) #3

Great, that’s helpful. Thanks very much.