#!/bin/sh
sudo yum update -y
sudo amazon-linux-extras install docker -y
sudo systemctl enable docker
sudo systemctl start docker
sudo docker container run --publish 8080:80 --name c9 --restart unless-stopped --detach secobau/4399-c9
# sudo docker container exec -ti c9 sh
# curl 4399-C9-XXX.elb.eu-central-1.amazonaws.com:8080/API/ -H "Content-Type: application/json" -X POST -d '{"colour":"red", "size":"small"}' ; echo
# curl 4399-C9-XXX.elb.eu-central-1.amazonaws.com:8080/API/;echo
-
Notifications
You must be signed in to change notification settings - Fork 0
aremongallego/github
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published