Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

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

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

    apt-get -y install

  1. 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

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

    update-rc.d defaults

  1. Download the docker container with the commands

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

  1. You are done.
Share on Twitter
Share on Facebook