Skip to content

Instantly share code, notes, and snippets.

@taufiqpsumarna
Last active June 18, 2024 13:04
Show Gist options
  • Save taufiqpsumarna/e55e9e2b52ed8454a46120d232c35329 to your computer and use it in GitHub Desktop.
Save taufiqpsumarna/e55e9e2b52ed8454a46120d232c35329 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Update repository and upgrade package"
apt update && apt upgrade -y
echo "Install Docker Package"
curl -fsSLv https://releases.rancher.com/install-docker/24.0.9.sh | sudo bash
sudo systemctl enable docker.service
sudo systemctl enable containerd.service
echo "Add current user to docker group"
sudo usermod -aG docker $USER
apt-get update
apt-get install gitlab-runner -y
echo "Install Docker Machine"
curl -O "https://gitlab-docker-machine-downloads.s3.amazonaws.com/v0.16.2-gitlab.23/docker-machine-Linux-x86_64"
cp docker-machine-Linux-x86_64 /usr/local/bin/docker-machine
chmod +x /usr/local/bin/docker-machine
@taufiqpsumarna
Copy link
Author

taufiqpsumarna commented Jun 18, 2024

18 June 2024 Docker Engine 24.0.9 Upgrade

We can use latest docker engine and I've tested this version and it's working without any error using Ubuntu 22.04 LTS
"engine-install-url='https://releases.rancher.com/install-docker/24.0.9.sh'"

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