Created
May 9, 2024 12:14
-
-
Save Coolicky/4bed97675a3cc347b1dc31903cc1d7ff to your computer and use it in GitHub Desktop.
Downgrading Docker version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#update the apt cache | |
`sudo apt update` | |
#List docker versions | |
`sudo apt-cache madison docker-ce` | |
#copy the required one | |
#stop docker service | |
`sudo systemctl stop docker` | |
#Remove docker | |
`sudo apt remove -y docker-ce docker-ce-cli` | |
#Install appropriate version | |
`sudo apt install -y docker-ce=5:25.0.5-1~debian.12~bookworm docker-ce-cli=5:25.0.5-1~debian.12~bookworm` | |
#Replace with the desired version. | |
#Containers should start but You might want to `docker compose up -d` just in case |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment