docker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docker [2026/04/18 22:55] – reddy | docker [2026/04/27 10:50] (current) – [Ubuntu] reddy | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| # Convenience script... | # Convenience script... | ||
| # curl -fsSL https:// | # curl -fsSL https:// | ||
| + | </ | ||
| + | |||
| + | ===== Ubuntu ===== | ||
| + | |||
| + | <code bash> | ||
| + | # | ||
| + | sudo apt remove $(dpkg --get-selections docker.io docker-compose docker-compose-v2 docker-doc podman-docker containerd runc | cut -f1) | ||
| + | |||
| + | # Add Docker' | ||
| + | sudo apt update | ||
| + | sudo apt install -y ca-certificates curl | ||
| + | sudo install -m 0755 -d / | ||
| + | sudo curl -fsSL https:// | ||
| + | sudo chmod a+r / | ||
| + | |||
| + | # Add the repository to Apt sources: | ||
| + | sudo tee / | ||
| + | Types: deb | ||
| + | URIs: https:// | ||
| + | Suites: $(. / | ||
| + | Components: stable | ||
| + | Architectures: | ||
| + | Signed-By: / | ||
| + | EOF | ||
| + | |||
| + | sudo apt update | ||
| + | |||
| + | sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | ||
| + | sudo systemctl enable --now docker | ||
| + | |||
| + | usermod -a -G docker ubuntu | ||
| + | docker run hello-world | ||
| </ | </ | ||
docker.1776545700.txt.gz · Last modified: by reddy
