Installing Docker

Installing Docker is very fast and easy, so much so that it barely constitutes its own section. In the last chapter, we had to install several packages in order to get a KVM virtualization server up and running as well as tweaking some configuration files. By comparison, installing Docker is effortless, as you only need to install the docker.io package:

sudo apt install docker.io
Docker is only supported on 64-bit versions of Ubuntu. The required package is available in 32-bit Ubuntu, but it's not guaranteed to function properly. If you don't recall which version of Ubuntu Server you installed, run the following command: uname -m You should receive the following output: x86_64

Yes, that's all there is to it. Installing ...

Get Mastering Ubuntu Server - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.