Skip to content

Commit

Permalink
Add docker install srcipt
Browse files Browse the repository at this point in the history
  • Loading branch information
NguyenAnhTuan1912 committed Aug 15, 2024
1 parent 1eb4f16 commit b3931ab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ __pycache__

package-lock.json

test
**/*.test.*
13 changes: 13 additions & 0 deletions docker_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

## Update packages
sudo yum update -y

## Install docker
sudo yum install -y docker

## Add user to docker
sudo usermod -d -G docker ec2-user

## Test authorization
docker ps

0 comments on commit b3931ab

Please sign in to comment.