Install Docker On Ubuntu
💡 This post is insightful for the following scenarios.
- Install docker on your ubuntu
Background
OS: Ubuntu 20.04
Step
1. Install docker and docker-compose
1 | curl -L https://get.docker.com | sh |
2. Add current user to docker group
and you will not need to add sudo when you use docker
1 | sudo usermod -aG docker $USER |