Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 531 Bytes

docker.md

File metadata and controls

24 lines (14 loc) · 531 Bytes

Docker

Infos

  • Run container:
    docker start homeassistant

  • Stop container:
    docker stop homeassistant

  • Remove container:
    docker rm homeassistant

  • This command shows all containers:
    docker ps -a

  • Go inside the container:
    docker exec -it homeassistant bash

  • By default, docker-compose up starts all the services (and any linked services) defined in the docker-compose.yml file. With -d, you free up the terminal while the containers run in the background.:
    docker compose up -d