DOCKER_OPTS do not work in config file /etc/default/docker

前端 未结 9 984
野性不改
野性不改 2020-12-13 09:59

I have changed /etc/default/docker with DOCKER_OPTS=\"-H tcp://127.0.0.1:2375 -H unix:///var/run/docker.sock\" (docker version 1.4.1 in ubuntu 14.0

9条回答
  •  死守一世寂寞
    2020-12-13 10:54

    I had the same issue.

    Ubuntu 14.10 uses systemd instead of sysv-init/upstart. Maybe you should look into /lib/systemd/system/docker.service to change the options.

提交回复
热议问题