Skip to content

Commit

Permalink
Merge pull request Tikam02#175 from relativvv/update-docker-doc
Browse files Browse the repository at this point in the history
Add Docker CE installation to docs
  • Loading branch information
Tikam02 authored Oct 27, 2022
2 parents 4d56159 + d7ed550 commit 2887b82
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Container-orchestration/Docker/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,32 @@ sudo apt-get install docker.io

```

---

- As an alternative you can install the official Docker CE (Community-Edition) like the following

```
# Install Prerequisites
sudo apt-get install ca-certificates curl gnupg lsb-release
# Add dockers official gpg key
sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# Setup repository
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Install Docker Engine
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
```

- Check for installed version

``` $ docker version ```
Expand Down

0 comments on commit 2887b82

Please sign in to comment.