Open conchincradle opened 1 year ago
sudo amazon-linux-extras install docker -y
Docker Compose Install on Linux - it seems error exist v2.2.2 change
sudo curl -L "https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose version
cd into the directory with yml file run
sudo docker-compose build
sudo docker-compose up -d
sudo docker ps
⠿ Network study-seminar-matching-webapp_default Created 0.1s ⠿ Container study-seminar-matching-webapp-server-1 Started
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1bf5170087df study-seminar-matching-webapp_server "python3" 41 seconds ago Up 40 seconds 0.0.0.0:8000->8000/tc
server: Amazon Linux initilize an instance of virtual machine EC2
install git
How To Install Git In AWS EC2 Instance