Install Docker
1
Update the package index and install prerequisites
2
Add Docker's official GPG key and repository
3
Install Docker Engine and Compose
4
Verify the installation
Run Docker without sudo
Add your user to thedocker group so you can run docker commands without sudo:
Your first Compose stack
Create a folder for your project and adocker-compose.yml file:
