1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| # Here in Debian, this file is sourced by: # - /etc/init.d/docker (sysvinit) # - /etc/init/docker (upstart) # - systemd's docker.service
# Use of this file for configuring your Docker daemon is discouraged.
# The recommended alternative is "/etc/docker/daemon.json", as described in: # https://docs.docker.com/v1.11/engine/reference/commandline/daemon/
# If that does not suit your needs, try a systemd drop-in file, as described in: # https://docs.docker.com/v1.11/engine/admin/systemd/ # 增加
DOCKER_OPTS="-H=unix:///var/run/docker.sock -H=0.0.0.0:2375"
|