[Bug 1487936] [NEW] $DOCKER_OPTS missing in systemd's docker.service
brainstorm
1487936 at bugs.launchpad.net
Mon Aug 24 02:03:41 UTC 2015
Public bug reported:
While creating a docker-swarm master and nodes on top of a openstack
cluster running Ubuntu 15.04 images, I ran into the problem that my
local docker-machine client was unable to connect to swarm-master and
nodes post-instantiation, here's the reason and solution:
https://github.com/maclennann/docker/commit/0e7fb272d6ce8e2
If this patch is not applied, a local docker client cannot connect to
the remote docker daemon:
root 11931 2.3 0.1 381472 24584 ? Ssl 01:59 0:00
/usr/bin/docker daemon -H fd://
As opposed to what it should be with correctly expanded $DOCKER_OPTS:
root 12081 8.5 0.1 512544 24628 ? Ssl 02:00 0:00
/usr/bin/docker daemon --tlsverify --tlscacert=/etc/docker/ca.pem
--tlskey=/etc/docker/server-key.pem --tlscert=/etc/docker/server.pem
--label=provider=openstack --host=unix:///var/run/docker.sock
--host=tcp://0.0.0.0:2376 -H fd://
Please note that *both* docker.service and /etc/default/docker should be
modified in docker.io package.
** Affects: docker.io (Ubuntu)
Importance: Undecided
Status: New
** Tags: systemd-boot
** Summary changed:
- $DOCKER_OPTS missing systemd's docker.service
+ $DOCKER_OPTS missing in systemd's docker.service
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to docker.io in Ubuntu.
https://bugs.launchpad.net/bugs/1487936
Title:
$DOCKER_OPTS missing in systemd's docker.service
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1487936/+subscriptions
More information about the Ubuntu-server-bugs
mailing list