jclouds-docker is a local cloud provider modelled on docker. Similar to other jclouds supported providers, it supports the same portable abstractions offered by jclouds.
##Setup
Please follow these steps to configure your workstation for jclouds-docker:
If you are using boot2docker
then it can also manage certificates and help you setup DOCKER_CERT_PATH
and DOCKER_HOST
environment variables. (See boot2docker shellinit
)
Assuming these environment variables are setup correctly there are no further setups steps are required.
Live tests then can now be run: mvn -Plive integration-test
#How it works
--------------- ------------- | Image(s) | | Node(s) | --------------- ------------- --------- docker remote api ---------------------------------------- | jclouds | ---------------------------> | DOCKER_HOST | --------- ----------------------------------------
##Components
#Notes:
#Troubleshooting As jclouds docker support is quite new, issues may occasionally arise. Please follow these steps to get things going again:
Remove all containers
$ docker rm docker ps -a
remove all the images
$ docker rmi -f docker images -q