Skip to content

Error installing Dokploy on Ubuntu 26.04 #4349

Closed

Description

@Mrahmani71

To Reproduce

Hello,

I wanted to install Dokploy automatically using the official install command:

curl -sSL https://dokploy.com/install.sh | sh

but on a fresh Ubuntu 26.04 server the installation failed with the following error:

INFO: Searching repository for VERSION '28.5.0'
ERROR: '28.5.0' not found amongst apt-cache madison results

sh: 214: docker: not found
Error: Failed to initialize Docker Swarm

Current vs. Expected behavior

It seems Docker was not installed correctly during the automatic installation process, so Dokploy could not continue.

Detecting latest stable version from GitHub...
Latest stable version detected: v0.29.2
Installing Dokploy version: v0.29.2
# Executing docker install script, commit: 2687d91ddeb3bd6aeae37a90947761efdee87030
+ sh -c apt-get -qq update >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get -y -qq install ca-certificates curl >/dev/null
+ sh -c install -m 0755 -d /etc/apt/keyrings
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" -o /etc/apt/keyrings/docker.asc
+ sh -c chmod a+r /etc/apt/keyrings/docker.asc
+ sh -c echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu resolute stable" > /etc/apt/sources.list.d/docker.list
+ sh -c apt-get -qq update >/dev/null
INFO: Searching repository for VERSION '28.5.0'
INFO: apt-cache madison docker-ce | grep '28.5.0' | head -1 | awk '{$1=$1};1' | cut -d' ' -f 3

ERROR: '28.5.0' not found amongst apt-cache madison results

Using advertise address: **.***.**.***
sh: 214: docker: not found
Error: Failed to initialize Docker Swarm

Provide environment information

Distributor ID: Ubuntu
Description:    Ubuntu 26.04 LTS
Release:        26.04
Codename:       resolute
Dokploy version: v0.29.2

Which area(s) are affected? (Select all that apply)

Installation

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

No

Activity

  1. dosubot commented on May 3, 2026

    @dosubot

    Hi @Mrahmani71! I'm Dosu and I’m helping the dokploy team.

    This is a duplicate of #4327 — the root cause is that Docker's official repository doesn't support Ubuntu 26.04 (resolute) yet. Dokploy's install script delegates Docker installation to Docker's get.docker.com script [1], which fails because there are no packages available for the resolute codename.

    As a workaround, install Docker manually using the Ubuntu 24.04 (noble) codename before running the Dokploy installer:

    sudo apt-get update
    sudo apt-get install ca-certificates curl
    sudo install -m 0755 -d /etc/apt/keyrings
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
    sudo chmod a+r /etc/apt/keyrings/docker.asc
    
    echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu noble stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
    
    sudo apt-get update
    sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

    Then re-run curl -sSL https://dokploy.com/install.sh | sh — it should detect Docker is already installed and skip that step.

    To reply, just mention @dosu.


    Share context across your team and agents. Try Dosu.

    Leave Feedback Learn about dokploy with Dosu Add Dosu to your team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions