-
Notifications
You must be signed in to change notification settings - Fork 1
Docker guide
Laila Melkas edited this page Nov 6, 2018
·
1 revision
To list containers run docker container ls
or docker ps
To list images run docker image ls
To execute commands inside docker container first list all containers, copy the ID of the target container and run docker exec -it {CONTAINER_ID} bash
.
If you're not using the init.sh
script under folder {PROJECT_ROOT}/scripts
to run the application, but want to run docker-compose manually, to build and run the project run the following commands
docker-compose down
docker-compose build
docker-compose up