• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Install, Configure & Use Docker On Ubuntu 16.04

How To Install, Configure & Use Docker On Ubuntu 16.04

By Sourabh / May 31, 2016 Category: How To, Ubuntu

How to install Docker on Ubuntu 16.04. Configure and use Docker on Ubuntu 16.04 Systems. Docker container for Ubuntu is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data center VMs, or the cloud.

Features of Docker

  • Agility – Docker gives developers the freedom to define environments, and create and deploy apps faster and easier, and flexibility for IT ops to quickly respond to change.
  • Control – Docker enables developers to own all the code from infrastructure to app, and the manageability for IT ops to standardize, secure and scale the operating environment.
  • Portability – Docker gives you choice without complexity, from a laptop to a team, to private infrastructure and public cloud providers.
  • Build – Docker allows you to compose your application from microservices, without worrying about inconsistencies between development and production environments, and without locking into any platform or language.
  • Ship – Docker lets you design the entire cycle of application development, testing and distribution, and manage it with a consistent user interface.
  • Run – Docker offers you the ability to deploy scalable services, securely and reliably, on a wide variety of platforms. Docker runs any app, anywhere. Those apps can be managed on-premises or in the cloud with Docker Universal Control Plane and Docker Cloud. Docker partners with your preferred cloud infrastructure provider to make it easy to deploy Docker technology using purpose built images.

Install Docker on Ubuntu 16.04

Please note that Docker requires a 64-bit installation regardless of your Ubuntu version. Additionally, your kernel must be 3.10 at minimum. The latest 3.10 minor version or a newer maintained version are also acceptable. Kernels older than 3.10 lack some of the features required to run Docker containers. To check your current kernel version, open a terminal and use uname -r to display your kernel version. Also, Ubuntu 14.10 and Ubuntu 15.04 exist in Docker’s APT repository, but are no longer officially supported.

Install Docker on Ubuntu 16.04

Open terminal and run the following commands:

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get purge lxc-docker
sudo apt-get install -y docker-engine
sudo apt-cache policy docker-engine

Once installed, you can use Docker on Ubuntu. Please make sure to gain root privileges. Working on Docker requires root privileges ( run the commands with sudo prefix). The Docker command has the following format:

docker [option] [command] [arguments]

You can view all the available Docker subcommands by running docker command in Terminal.

Configure Docker to start on system boot

You can easily configure Docker to start on system boot for Ubuntu 15.04 and up versions. For Ubuntu 14.10 and below versions the installation method automatically configures upstart to start the Docker daemon on boot. To configure the Docker daemon to start on boot, run the following command:

sudo systemctl enable docker

Upgrade Docker

Ubuntu users can easily upgrade to the latest version of Docker. To install the latest version of Docker, run the command:

sudo apt-get upgrade docker-engine

Uninstall Docker

If you wish to uninstall Docker from Ubuntu Systems, run:

sudo apt-get purge docker-engine
sudo apt-get autoremove --purge docker-engine
rm -rf /var/lib/docker

Once Docker is uninstalled, please update the system.

Tags: Download and Use Docker on Ubuntu 16.04, Download Docker on Ubuntu 16.04, How To Download Docker on Ubuntu 16.04, How To Install Docker on Ubuntu 16.04, How To Upgrade Docker on Ubuntu 16.04, How To Use Docker on Ubuntu 16.04, Install and Use Docker on Ubuntu 16.04, Install Docker on Ubuntu 16.04, Upgrade and Use Docker on Ubuntu 16.04, Upgrade Docker on Ubuntu 16.04, Use and Use Docker on Ubuntu 16.04, Use Docker on Ubuntu 16.04

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap