Skip to content

Instantly share code, notes, and snippets.

@Macorreag
Created March 27, 2020 21:26
Show Gist options
  • Save Macorreag/bcdb612a23d2c781b76eb2e8eb972863 to your computer and use it in GitHub Desktop.
Save Macorreag/bcdb612a23d2c781b76eb2e8eb972863 to your computer and use it in GitHub Desktop.
ComandosDockerTutorial

Manejo de Containers

Mostrar estado de todos los containers corriendo

$ docker ps -a

CONTAINER_ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b6ed75b83cf6 bulletinboard:1.0 "docker-entrypoint.s…" 3 days ago Exited (0) 21 minutes ago bb

Note que el contenedor tiene por estado Exited(0), aún no esta corriendo

Iniciar el contenedor de la imagen bulletinboard

$ docker container start b6ed75b83cf6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment