🎉 Announcing new lower pricing — up to 40% lower costs for Cloud Servers and Cloud SQL! Read more →

Brightbox Cloud Docker Machine Driver

Docker Machine is a Docker server manager. It takes care of creating and bootstrapping new servers on which to run Docker and helps you manage them from then on. It handles the grunt work of creating a CA and generates certificates for each new server etc. so then all you then have to do is connect to the remote Docker daemon and start containing things.

We’ve written a driver which gives Docker Machine the power to create new Brightbox Cloud Servers itself directly, using our API. The driver defaults to using the latest available official CoreOS image, so things are up and running quickly.

All you need is Docker Machine v0.5 or newer, a set of Brightbox API Client credentials and our driver binary in your path:

$ docker-machine create -d brightbox --brightbox-client cli-aaaaa \
  --brightbox-client-secret 123456 dockserv1
Running pre-create checks...
Creating machine...
Waiting for machine to be running, this may take a few minutes...
Machine is running, waiting for SSH to be available...
Detecting operating system of created instance...
Provisioning created instance...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
To see how to connect Docker to this machine, run: docker-machine env dockserv1

$ docker-machine ls
NAME        ACTIVE   DRIVER      STATE     URL                     
dockserv1   *        brightbox   Running   tcp://ipv6.srv-abcde.gb1.brightbox.com:2376

$ eval "$(docker-machine env dockserv1)"
$ docker run -t -i ubuntu:15.10
15.10: Pulling from library/ubuntu
edf0bf8b21d5: Pull complete 
91ed52dbf166: Pull complete 
19eed9c5b1da: Pull complete 
5eb72b199374: Pull complete 
Digest: sha256:ffd325fe3dad3b8b18a93b1b5fe8ba0e833a2ea130648bdc0b161d0dfcd3f8be
Status: Downloaded newer image for ubuntu:15.10


More details can be found in our README.

If you’re new to Brightbox Cloud you can sign up now and get a £20 credit to get you started.

If you need any help, drop us a line at support at brightbox dot com.

Get started with Brightbox Sign up takes just two minutes...