Simple docker and docker-compose installation tutorial Linux/Ubuntu commands

Published: 01 January 1970
on channel: Vasilije Stosic
70
4

In this video I will show you how to install docker and docker-compose on your linux ubuntu distribution.
Make sure you have the latest installation of linux ubuntu.
At the end of the video I show you that this installation works. I build simple flask server.
Follow these commands in the description and everything will be fine.
if you have problems with the installation, write in the comments.
If the video helps you like, share, subscribe!
Good luck!!

Commands:
```
Check if I have docker installed
docker --version

Check if I have docker-compose installed
docker-compose --version

Lets start!!

docker install
sudo apt install docker.io
sudo systemctl enable --now docker
sudo usermod -aG docker $USER


check if it works
docker --version
docker run hello-world


*if you dont have installed curl install it (sudo apt install curl)
docker-compose install
sudo curl -L "https://github.com/docker/compose/rel... -s)-$(uname -m)" -o /usr/local/bin/docker-compose

check if it works
docker-compose version

adding privileges
sudo chmod +x /usr/local/bin/docker-compose


start up your project
docker-compose up --build --remove-orphans
```


On this page of the site you can watch the video online Simple docker and docker-compose installation tutorial Linux/Ubuntu commands with a duration of hours minute second in good quality, which was uploaded by the user Vasilije Stosic 01 January 1970, share the link with friends and acquaintances, this video has already been watched 70 times on youtube and it was liked by 4 viewers. Enjoy your viewing!