After reading this article, the user should be able to provision docker-machine instances on CenturyLink Cloud.
Docker Machine - "automated docker provisioning"
The CLC driver enables the user to provision docker hosts via the docker-machine CLI.
Docker users interested in deploying machines on CenturyLink Cloud.
Install Docker Machine.
Download the CLC Driver.
Install the binary into your shell path.
(strip the architecture extension)
$ mv docker-machine-driver-clc.linux-amd64 $(dirname $(which docker-machine))/docker-machine-driver-clc $ chmod +x $(dirname $(which docker-machine))/docker-machine-driver-clc
The plugin expects CLC credentials set either as env vars:
or as cmdline flags
explore available options.
docker-machine create --driver clc --help
Create an instance.
docker-machine --debug create -d clc firstmachine
By default, a public IP is allocated on your docker-machine instance, controlled by the
--clc-server-private flag. SSH is required for docker-machine to install the docker engine software packages. This means that if public IPs are not available or you don't want the tls-secured machine publicly accessible, you'll need to be connected via VPN Access.
- Driver missing in path, ensure downloaded binary is in your shell path.
$ docker-machine create --driver clc --help Driver "clc" not found. Do you have the plugin binary accessible in your PATH? $ which docker-machine-driver-clc $ echo $PATH ...