Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 402 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 402 Bytes

tallerIaC

Comandos utiles

Ejecutar playbook ansible con prompt para pass

ansible-playbook playbook.yml --ask-become-pass

Buildear imagen docker

docker build -t <image name> .

Ejecutar contenedor en modo detached con port forwarding

docker run -dp 8000:8080 <container name>

Conectarse a un contenedor por ssh usando id

docker exec -it <container id> /bin/bash