Docker files to setup and run the gamedoora app
1.docker-compose build
2. docker-compose up -d
3. docker-compose logs -f
##Most used docker commands:
docker-compose build
to build all applicationsdocker-compose build <application_name>
to build particular applicationdocker-compose up
to run all application in terminaldocker-compose up -d
to run all application in terminal in detached modedocker-compose up <application_name>
to run single application in terminaldocker-compose up -d <application_name>
to run single application in detached modedocker-compose ps
to see all the applications running with their portdocker ps
to see the containers listdocker images
to see the list of imagesdocker-compose stop <application_name>
to stop a applicationdocker-compose rm <application_name>
to remove a application from listdocker exec -it <container_id> bash
to go into the container using container_id received from "docker ps"docker-compose logs -f
to view current logs of all applicationsdocker-compose logs -f <application_name>
to view current logs for particular applicationdocker stop $(docker ps -a -q)
stop all the stopped containersddocker rm $(docker ps -a -q)
kill all the stopped containersdocker images -a
to list all the imagesdocker rmi $(docker images -a -q)
to remove all the images
#####Reference: https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes