Skip to content

Instantly share code, notes, and snippets.

@jaamarks
Created March 19, 2025 18:33
Show Gist options
  • Save jaamarks/11279d96f68e1fc74e7de9bf7f64ebac to your computer and use it in GitHub Desktop.
Save jaamarks/11279d96f68e1fc74e7de9bf7f64ebac to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Executing post-install script"
# Third party software dependencies
dnf update -y
dnf install git -y
dnf install docker -y
# Start Docker
service docker start
systemctl enable docker
usermod -a -G docker ec2-user
#sudo groupmod -g 1001 ec2-user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment