

To do that, we’ll add a new package source, add the GPG key from Docker to ensure the downloads are valid, and then install the package.įirst, update your existing list of packages: To ensure we get the latest version, we’ll install Docker from the official Docker repository. The Docker installation package available in the official Ubuntu repository may not be the latest version. An account on Docker Hub if you wish to create your own images and push them to Docker Hub, as shown in Steps 7 and 8.One Ubuntu 18.04 server set up by following the Ubuntu 18.04 initial server setup guide, including a sudo non-root user and a firewall.

To follow this tutorial, you will need the following: You’ll install Docker itself, work with containers and images, and push an image to a Docker Repository. In this tutorial, you’ll install and use Docker Community Edition (CE) on Ubuntu 18.04. They’re similar to virtual machines, but containers are more portable, more resource-friendly, and more dependent on the host operating system.įor a detailed introduction to the different components of a Docker container, check out The Docker Ecosystem: An Introduction to Common Components. Containers let you run your applications in resource-isolated processes. Introductionĭocker is an application that simplifies the process of managing application processes in containers. A previous version of this tutorial was written by finid.
