Skip to content

Docker installation on a Linux server

Florian3 min18 August 20172 Views
Docker Installation on Linux Server

Virtualization is now ubiquitous. Whether it's in small companies or even the giants like Facebook, Amazon, Google & Co. It is all the more important that the infrastructure is potentially expandable and still provides a central management interface.

This How-To revolves around Docker & how to install this small software and additionally start the first small container.

Docker is a lightweight open-source virtualization software to deploy services or applications isolatedly on a single system. In contrast to real virtual machines, no extra operating system is emulated or hosted, but explicitly only an application environment within the host system. This not only saves resources in general, but also causes lower overhead compared to full virtualization.


Installation of Docker


The installation of Docker is quite simple and takes only a few minutes. In this example, we set up Docker on a Debian 8 system and install it via package sources.

Step 1.)

First, we check if our system is generally capable of running Docker. We need a kernel version that is at least 3.10. This can be checked via: uname -r.

The version 3.10. is available. If there is an older (smaller) version than 3.10, please contact support.

Step 2.)

Next, we need to add Docker's GPG key, the key file, to our system:
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

Then we add Docker to our package sources so that we can install the package via apt-get.
echo "deb https://apt.dockerproject.org/repo debian-jessie main" >> /etc/apt/sources.list.d/docker.list

Click on the image for an enlarged view.
Step 3.)
Now we can download Docker. It is important that we still enable apt-get to download packages from HTTP(S) sites.
To do this, enter the command: apt-get install apt-transport-https ca-certificates and let it run through.

Then execute the following commands:

- apt-get update && apt-get install docker-engine (Updates the package sources and downloads Docker completely)
- systemctl start docker (Starts the Docker service)
- systemctl enable docker (Autostart at boot from the distribution)

Once all that is done, you should check if Docker is running:
systemctl status docker
The output of "systemctl status docker"
If it looks like this and says Active (running), Docker has been completely installed without any problems.

With a docker run hello-world you can then check if Docker is running correctly.

The output should look like this:

The installation of Docker was successful.
Now you can simply get started and use Docker.
Newsletter
New articles, tutorials and server news straight to your inbox. After confirming your email — only for new addresses.
Unsubscribe anytime. No spam.
Florian

About the author

Florian

Content Management & Development

Responsible for technical content at ZAP-Hosting, from guides and documentation to product pages. Helps shape ZAP-Hosting and writes about survival, crafting, and building games.

Feedback

Was this blog post helpful?

Your feedback helps us prioritize and improve blog articles.

From category

More about Guides

More posts on the same topic—curated for you from our blog.

All articles in Guides
Guides8 min2 Nov 2026

The best Project Zomboid mods in 2026 for your server

Eleven mods for Build 42 that also work in multiplayer, the most important classics for Build 41 servers, and how to add mods to your server.

Read more

In this category

Explore more

More interesting articles

Discover the latest news, tutorials, and tips from other categories.

All articles
ZAP-Hosting4 min4 Nov 2026

New Panel, New Prices: What's Inside ZapX

ZapX is our new panel: one-click apps on your VPS, an AI agent and game servers without slot limits. What's new, what it costs and why our prices are changing.

Read more

Browse the highlights