How to install Docker on Ubuntu 14.04 LTS

Login to your Ubuntu server with root user using your favorite SSH client

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

sudo apt-get update


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

apt-get -y install


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


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

update-rc.d defaults


Download the docker container with the commands

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


Was this article helpful?
0 out of 0 found this helpful

Have more questions? Contact our support instantly via Live Chat