Template

Docker Host

Docker Engine with the Compose plugin, on an up-to-date server.

Steps, in order · version 1.0

  1. Update Packages
  2. Install Docker

Options

As they appear on the run form, with their defaults.

Install the Compose plugin

On or off

Default: On

What you get

A server ready to run containers: all package updates applied, then Docker Engine and Buildx from Docker's own repositories (Amazon's own Docker package on Amazon Linux), with the Compose plugin if you choose it, enabled and running. The template does not run any containers.

Choosing the options

Install the Compose plugin — keep it on; most multi-container applications are started with docker compose.

What happens

  1. Update Packages.
  2. Install Docker.

After the run

Deploy your containers with docker compose up -d in your project's folder. Publish ports that should stay private to 127.0.0.1 only (127.0.0.1:8080:80): Docker opens published ports itself, whatever the host firewall allows. Put HTTPS in front with Configure Reverse Proxy, forwarding to the published port.

Common problems

  • The distribution's containerd or runc is installed, or Podman's docker wrapper is installed — Docker's packages would replace them, so nothing was changed. See Install Docker.
  • Ubuntu 20.04 is refused — Docker no longer publishes for it.