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.
Run the following command to install Docker. This will download and install the latest version and configure it to start during system boot.
Run the 'hello-world' container to test the 'docker' command and confirm the installation was successful.
CentOS 6 and Red Hat 6
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.
In order to follow best practices, run a full update on the system to ensure that it is fully patched.
Download the Docker RPM using
Install the package with
Start the Docker daemon with this command:
hello-worldcommand and confirm the installation was successful.
To set Docker to start during system boot, run the following command:
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.