Skip to content

Instantly share code, notes, and snippets.

@nuboat
Created May 23, 2024 10:25
Show Gist options
  • Save nuboat/c216a244f1000fc493fa6a1c49f411cf to your computer and use it in GitHub Desktop.
Save nuboat/c216a244f1000fc493fa6a1c49f411cf to your computer and use it in GitHub Desktop.
Standard Setup
#!/bin/bash
sudo dnf update
sudo dnf install docker
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl status docker
sudo usermod -aG docker ec2-user
# docker-compose (latest version)
sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
docker-compose version
#!/bin/bash
yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment