Hoàng Diễm Quỳnh
New member
What is the use of Docker sock?
Answer
sock is
the UNIX socket that Docker daemon is listening to
. It’s the main entry point for Docker API. It also can be TCP socket but by default for security reasons Docker defaults to use UNIX socket. Docker cli client uses this socket to execute docker commands by default.
Answer
sock is
the UNIX socket that Docker daemon is listening to
. It’s the main entry point for Docker API. It also can be TCP socket but by default for security reasons Docker defaults to use UNIX socket. Docker cli client uses this socket to execute docker commands by default.