Skip to content

Instantly share code, notes, and snippets.

@brunneis
Last active January 4, 2020 19:52
Show Gist options
  • Save brunneis/056b5e9f23898f3785b9418084d287ec to your computer and use it in GitHub Desktop.
Save brunneis/056b5e9f23898f3785b9418084d287ec to your computer and use it in GitHub Desktop.
CentOS 8 first steps
#!/bin/bash
yum -y install epel-release
yum -y install nano git
yum -y install yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y install docker-ce --nobest
systemctl enable docker
usermod -aG docker dynuser
curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
# yum -y install qemu-guest-agent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment