By default the Docker daemon listens on unix:///var/run/docker.sock and the client must have root access to interact with the daemon. If a group named docker exists on your system, docker applies ownership of the socket to the group. https://docs.docker.com/engin...
付费偷看金额在0.1-10元之间
相当于将默认的socket绑定在本机的2376,也就是你说的
http://localhost:2376
如果daemon运行时没有指定端口,默认用
unix:///var/run/docker.sock
这里的端口取决于你docker daemon绑定的端口。
By default the Docker daemon listens on unix:///var/run/docker.sock and the client must have root access to interact with the daemon. If a group named docker exists on your system, docker applies ownership of the socket to the group.
https://docs.docker.com/engin...
例如运行时:
一周热门 更多>