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

Docker machine integration #429

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hekaldama
Copy link

This PR aims to integrate docker-machine to ease local testing of docker-api. It does this by using a (very) lightweight gem called 'docker_machine' to talk to the docker-machine cli, sets up a docker-machine VM, evaluates the VMs docker config bits into the runtime's ENV, and runs the test suite against that VM. This has been tested to be working with bundle exec rake DOCKER_VERSION=1.11.1.

I am unsure if this is the best approach to make docker-api talk to the docker-machine and I am open to other approaches if they would fit better into how docker-api works.

I would like this to be merged sooner rather than later so that I may use it for my docker 1.12.0 updates I am doing for docker-api.

Thanks in advance and please let me know any questions you may have.

@hekaldama
Copy link
Author

A TODO on this is to figure out how to use travis CI to do the swarm tests or just mock the docker daemon responses.

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

Successfully merging this pull request may close these issues.

1 participant