terraform-ec2-infras-deployment / entry-script-one.sh
entry-script-one.sh
Raw
#!/bin/bash

sudo apt update && sudo apt install -y docker.io
sudo systemctl start docker
sudo docker run -p 8080:80 nginx