Atlantic.Net Blog

How to Install Docker on Ubuntu 14.04 LTS

Jose Velazquez
by Atlantic.Net (71posts) under VPS Hosting
Verified and Tested 05/19/15


This how-to will help you with your Docker setup on Ubuntu 14.04 LTS so that you can successfully build, ship, and run distributed applications quickly and effective via its own Docker Engine. With technology on the rise and the popularity of Apps quickly rising, Docker is preferred by many system admins and developers to maximize their creativity in an App production environment.

What Do You Need?

You need a Ubuntu 14.04 LTS server that is configured with a static IP address. If you do not have a server already, you can visit our VPS Hosting page and spin a new server up in under 30 seconds.

Server Preparation

To get started, login to your Ubuntu 14.04 LTS server via SSH or the VNC Console located here. Atlantic.Net Cloud servers are setup as minimal installations in order to avoid having unnecessary packages from being installed and never used. If some software packages that you’re used to using aren’t installed by default, feel free to install them as needed.

Let’s make sure that your server is fully up-to-date.

apt-get update -y ; apt-get upgrade -y

With the server up-to-date, we can continue the installation process on your server.

Install Docker on Ubuntu 14.04 LTS

We will begin by installing with the following:

sudo apt-get install

We must then make a symbolic link between the original location of the Docker installation, so the program knows where to look for it.

sudo ln -sf /usr/bin/ /usr/local/bin/docker
sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/

Furthermore, If you would like to install the latest version on your system, we will need to install additional dependencies in the following order to ensure everything checks out.

sudo apt-get install apt-transport-https
sudo apt-key adv --keyserver hkp:// --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo sh -c "echo deb docker main\ > /etc/apt/sources.list.d/docker.list"
sudo apt-get update
sudo apt-get install lxc-docker
sudo apt-get install apparmor

Finally, you can verify that the latest version of docker is installed with the following:

sudo docker version

Once done, you can create your first container and test the installation:

sudo docker run -i -t ubuntu /bin/bash

What Next?

Congratulations! You now have a server with a Docker platform for your app developing environment. Thank you for following along this how-to! Check back with us for further updates, and reliable virtual private server from Atlantic.Net.

Get A Free To Use Cloud VPS

Free Tier Includes:
G2.1GB Cloud VPS Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

  • Seven Global Data Center Locations.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now! Med Tech Award FTC
SOC Audit HIPAA Audit HITECH Audit

Recent Posts

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G2.1GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom