Docker CE

Last change on 2024-11-06 • Created on 2021-06-23 • ID: CL-66498
docker logo

This app contains a ready to use Docker installation. You can install it via the Hetzner Cloud Console or the Hetzner Cloud API.

Deploy to Hetzner Cloud

Docker is an open source project that uses OS-level virtualization to deliver software in packages called containers. This app allows you to deploy applications in any environment.

Getting started

Create your server on our Hetzner Cloud Console. Instead of an image, you will be able to choose the app that you would like to have preinstalled on your server.

Docker is preinstalled when the image is booted.

You can log into your server as usual:

  • Via SSH key, if you selected one when you created the server
  • Via root password, which will be mailed to you if you created a server without selecting an SSH key

Hetzner Cloud API

In addition to the Hetzner Cloud Console you can also use the Hetzner Cloud API to set up a server with pre-installed Docker.

  • For example with a curl command via CLI

    curl \
    	-X POST \
    	-H "Authorization: Bearer $API_TOKEN" \
    	-H "Content-Type: application/json" \
    	-d '{"name":"my-server", "server_type":"cpx21", "image":"docker-ce"}' \
    	'https://api.hetzner.cloud/v1/servers'
  • Or via hcloud-cli

    hcloud server create --name my-server --type cpx21 --image docker-ce

Image content

Base OS

  • Ubuntu 24.04

Installed packages

NAME LICENSE
Docker GPLv3 (Apache 2.0)
Docker Compose Plugin

For more information about the installed packages, please refer to their official documentation:

For more information about Hetzner Cloud and Hetzner Cloud Apps, please refer to our official documentation:

Table of Contents