Dockers primeros pasos
https://docs.docker.com/desktop/install/linux-install/
Nosotros instalaremos en debian 11
https://docs.docker.com/desktop/install/debian/
https://docs.docker.com/engine/install/debian/#set-up-the-repository
La instalacion es sencialla..
![](https://martinezmartinez.eu/wp-content/uploads/2022/10/image-5.png)
Utilizacion de imagenes dockers
ejemplo postgres:
https://hub.docker.com/_/postgres
![](https://martinezmartinez.eu/wp-content/uploads/2022/10/image-6-1024x378.png)
Instalacion de postgres
#docker pull postgres
o
#docker run postgres
TAGS: para bajar versiones
![](https://martinezmartinez.eu/wp-content/uploads/2022/10/image-7-1024x533.png)
docker run postgres
:VERSION
![](https://martinezmartinez.eu/wp-content/uploads/2022/10/image-8.png)
![](https://martinezmartinez.eu/wp-content/uploads/2022/10/image-9.png)
Solicita variable de entorno y por ello pasamos el flag «-e POSTGRES_PASSWORD=password»