Skip to content

Docker Installation

This page provides instructions for installing Docker on Linux systems. Always refer to official documentation for the most accurate and up-to-date instructions. Offline installers are available upon request.

Offline Docker installation is supported. To request the package or report any issues, contact product.devops@kafein.com.tr


Docker Installation for Linux

System Requirements

  • Supported Distributions: Docker Engine supports a variety of Linux distributions, including Ubuntu, Debian, CentOS, Fedora, and others.
  • Docker Version: Docker Engine 26 or higher is recommended for optimal compatibility.
  • Docker Compose Version: Compose v2.17 or later is required.

Compose V2 is required

Data Focus is deployed with the Compose plugin, invoked as docker compose (two words). The legacy standalone docker-compose command (Compose V1) is not supported — the deployment uses Compose features that exist only in V2 and the installation will fail with it.

Verify the installed version before continuing:

Bash
docker compose version

If the command reports docker: 'compose' is not a docker command, the Compose plugin is missing. Install it with docker-compose-plugin from your distribution's Docker repository.

Steps to Install Docker on Linux

  1. Refer to the Official Documentation:

  2. Enable and Start Docker:

    • Enable Docker to start on boot and start the service:
      Bash
      sudo systemctl enable docker
      sudo systemctl start docker
      
  3. Verify Installation:

    • Verify that Docker is installed and running:
      Bash
      docker --version
      docker run hello-world
      

Offline Installation

For environments without internet access, Offline installers for Docker can be provided. To request the package or report any issues, contact product.devops@kafein.com.tr


Verify Docker Installation

After installing Docker, ensure that it is correctly set up by performing the following steps:

1. Check Docker Version: Run the following command to verify the installed Docker version:

Bash
docker version

2. Run a Test Container: Confirm Docker functionality by running the hello-world container:

Bash
docker run hello-world

If the installation is successful, you should see a message indicating that Docker is working correctly.

Hello from Docker! This message shows that your installation appears to be working correctly.

3. Check Resource Allocation: For performance issues, ensure that sufficient resources are allocated to the server at the system level.


Important Notes