-
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