This code starts and stops a Docker server using Docker Compose.

To start the server, run the following command:

docker-compose up -d

To stop the server, run the following command:

docker-compose stop

sudo amazon-linux-extras install docker && sudo service docker start && sudo usermod -a -G docker ec2-user