tf-aws-demo/modules/app/resources/bootstrap.sh
2022-08-25 15:00:54 +02:00

12 lines
207 B
Bash
Executable File

#!/bin/bash
yum update -y
amazon-linux-extras install docker
service docker start
usermod -a -G docker ec2-user
chkconfig docker on
docker run \
-p 80:80 \
--restart unless-stopped \
nginxdemos/hello