Docker is open-source software for Linux that is used to deploy applications inside software containers. It does this by providing an additional layer of abstraction within the operating system–level virtualization. CenturyLink Cloud supports Docker on virtual cloud servers as well as on bare metal servers.

Before We Start

If you don't have a CenturyLink Cloud account yet, head over to our website and sign up for a free trial. You'll need it to access Bare Metal and deploy the server.

Follow these instructions for creating a new Bare Metal server . Make sure to select CentOS 6, RedHat Enterprise Linux 6, or Ubuntu 14 from the Operating System (OS) list. All of these operating systems support Docker. Depending on the OS you choose, follow the instructions below for installing Docker on CentOS 6/Red Hat 6 or on Ubuntu 14.


Ubuntu 14

  1. Run the following command to install Docker. This will download and install the latest version and configure it to start during system boot. Step1

  2. Run the 'hello-world' container to test the 'docker' command and confirm the installation was successful. Step2

CentOS 6 and Red Hat 6

  1. Log into the machine via SSH as the root user.

    • Note: Make sure you are logged into your VPN and connected to the machine's private IP as it is not recommended to allow SSH over a public IP. Step3
  2. In order to follow best practices, run a full update on the system to ensure that it is fully patched. Step4

  3. Download the Docker RPM using curl. Step5

  4. Install the package with yum. Step6

  5. Start the Docker daemon with this command: Step7

  6. Run the hello-world command and confirm the installation was successful. Step8

  7. To set Docker to start during system boot, run the following command: Step9

What's Next

Learn more about CenturyLink Clouds Bare Metal offerings and use cases.

Sign up for our Developer-focused newsletter CODE. Designed hands-on by developers, for developers. Keep up to date on topics of interest: tutorials, tips and tricks, and community building events.

We’re a different kind of cloud provider — let us show you why.