Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flockerctl doesn't work on a node where DOCKER_HOST points to Docker Swarm #69

Open
wallrj opened this issue Feb 4, 2016 · 0 comments

Comments

@wallrj
Copy link
Contributor

wallrj commented Feb 4, 2016

In the Flocker CloudFormation installer we set up a client node and ask the user to set the environment variable DOCKER_HOST="<ip address and port of swarm API>" .

That means that the flockerctl wrapper script attempts to run the flockerctl container on one of the Swarm nodes....which doesn't work....because the container has a volume mapping to the certificates installed on the local machine.

Instead the wrapper script should override the DOCKER_HOST variable to the local Docker Unix socket.

I was going to say "That's how docker-compose does it", but actually it doesn't:

I wonder if containerized docker-compose even works with docker swarm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant