Using Docker on CenturyLink Cloud Servers

Updated by Bryan Friedman on Apr 15, 2015

Description

Docker is open-source software for Linux that is used to deploy of applications inside software containers by providing an additional layer of abstraction of operating system–level virtualization. CenturyLink Cloud supports Docker on two traditional Linux distributions as well as on the newer, lightweight CoreOS that is used specifically for deploying applications in Docker containers. CenturyLink Cloud also supports Panamax, a web-based tool that makes it easy to deploy complex Docker applications through a drag-and-drop interface. (Read about installing CoreOS or Panamax on CenturyLink Cloud).

Steps

The quickest way to get a single Linux server up and running with Docker is to use one of the provided Blueprints, either "Install Docker on CentOS" or "Install Docker on Ubuntu". Clicking on either of these Blueprints and then clicking "deploy Blueprint" will provision a server and install Docker for you. This process is outlined below. Alternatively, you could also provision your own Ubuntu 14 or CentOS 6 server and follow the steps for executing a package on a server, selecting the "Install Docker on Ubuntu" or "Install Docker on CentOS" package depending on your server type.

The steps provided below will work with either Ubuntu 14 or CentOS 6 versions of Linux. The example below shows Ubuntu 14, but the process is the same for CentOS 6. (Just replace the package or Blueprint name with "CentOS" instead of "Ubuntu".)

  1. In the Control Portal, navigate to the Blueprints Library and search for "docker" to find the two available Blueprints. Blueprint Library Search for Docker

  2. Click Install Docker on Ubuntu, then click deploy blueprint to begin the installation.

  3. You are presented with a page to input parameter values to specify details of the installation. Enter the required values for the server build (password, group, network, DNS, service level, and name). For the "Install Hello World Node Container" option, you may leave the default as No which will install Docker on the server, but will not include any containers. If you select Yes, the package will also install a sample container running a Node.js "Hello World" application on port 49160 as an example container. Customize the Blueprint UI

  4. Click next: step 2a, then deploy blueprint after reviewing the values. This should kick off a deployment job in your queue. Once the job has completed, the server will be created. Job Queue

  5. You should see the new server under the group you chose when deploying the Blueprint. Here, we use our VPN connection and IP address to confirm the example container application is deployed. Server Created with Docker

    Hello World

Customer Support

Can’t find what you need?
Give us a call.

1.888.638.6771

M – F, 8am to 6pm