Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xingyzt authored Apr 28, 2024
1 parent 9944417 commit 7857463
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,22 +126,20 @@ After the instance has loaded, follow the official instructions to

Run the following lines to install Git and Docker on Amazon Linux, which uses the `yum` package management system.
```bash
# Refresh package repository
# Install Git and Docker
sudo yum update

# Install Git
sudo yum install git

# Install Docker
sudo yum install docker

```
```bash
# Give Docker extra permissions
sudo usermod -a -G docker ec2-user
id ec2-user
newgrp docker

# Start Docker's daemon
sudo systemctl enable docker.service
```
```bash
# Start Docker's daemon
sudo systemctl start docker.service
```
If you are using a different Linux distribution on your instance,
Expand Down

0 comments on commit 7857463

Please sign in to comment.