Skip to content

Installing the Docker application deployment environment

Learn how to install Docker on a managed Dedicated Server running AlmaLinux. This configuration is not officially supported.

Docker is an open-source application deployment framework. It allows you to deploy applications in self-contained environments, providing portability and ease of distribution.

  • Docker can only be installed on a managed Dedicated Server with root access.
  • While this configuration has been tested, it is not supported. Use it as a starting point for your own Docker projects. Support for installation, configuration, or troubleshooting is not provided.

Note: If AlmaLinux is not already installed, you must install the operating system template before continuing.

  1. Log in via SSH as the root user.
yum -y update
reboot

After the system restarts, log back in via SSH.

yum -y install epel-release
yum repolist

You should see a line like:

epel Extra Packages for Enterprise Linux 6 - x86_64
yum -y install docker-io
service docker start

To enable Docker to start automatically at boot:

chkconfig docker on
docker run fedora /bin/echo hello world

The first time this command runs, Docker downloads the Fedora container image, then executes the command. You should see:

hello world

Tip: Run an interactive shell in the container:

docker run -i -t fedora /bin/bash

To exit the interactive shell, type:

exit

For the latest Docker documentation and guidance, visit Docker official site.