Skip to content

Instantly share code, notes, and snippets.

@jifang
Last active November 5, 2023 09:06
Show Gist options
  • Save jifang/b1a16cca7f7e2d2625f7d3c2270d23f8 to your computer and use it in GitHub Desktop.
Save jifang/b1a16cca7f7e2d2625f7d3c2270d23f8 to your computer and use it in GitHub Desktop.
Setup docker on CentOS
#!/bin/bash
cat /etc/os-release
# Install docker engine
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment