Skip to content

Commit

Permalink
Add restart feature for making ami
Browse files Browse the repository at this point in the history
Docker containers got turn off when making AMI without restart option
  • Loading branch information
ChangwooLim committed Nov 15, 2023
1 parent 846d693 commit 19fffb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ami.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ sudo apt-get install -y docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING

sudo docker pull dao0312/statgarten:latest

sudo docker run -itd -p 80:3838 --name statgarten dao0312/statgarten:latest
sudo docker run -itd -p 80:3838 --name statgarten --restart always dao0312/statgarten:latest

0 comments on commit 19fffb9

Please # to comment.