Possible Errors
Error: 'docker compose' is required to run this script, see installation instructions at 'https://docs.docker.com/compose/install/'.Establish dependencies:
apt update
apt install ca-certificates curl gnupg lsb-release -yAdd a Docker GPG key:
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
gpg --dearmor -o /etc/apt/keyrings/docker.gpg
chmod a+r /etc/apt/keyrings/docker.gpgAdd a Docker repository (no support for noble yet - we use jammy, works fine):
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
https://download.docker.com/linux/ubuntu jammy stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/nullUpdate and install Docker:
apt update
apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -yCheck that it works:
docker version
docker compose versionStart the Docker service manually:
Check if Docker is running:
You should see something like:

Enable Docker to start automatically on boot:
Verify
Last updated