How to install Docker on Ubuntu 14.04 LTS

1. Login to your Ubuntu server with root user with your favorite SSH client

2. Let’s first update the operating system with all the latest packages with the command

sudo apt-get update

3. In order to install Docker , we will first need to install the Docker Package with the command

apt-get -y install

4. Configure the proper path and links in order to make sure that docker will work with the commands

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

5. Enable the Docker to start with the server boot with the command

update-rc.d defaults

6. Download the docker container with the commands

docker pull Ubuntu
docker run -i -t ubuntu /bin/bash

You are done.

Was this article helpful?

Leave A Comment?