Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 551 Bytes

COMMANDS.md

File metadata and controls

27 lines (21 loc) · 551 Bytes

List of useful commands

This is an non-exhaustive list of commands for this project

Run (development mode)

docker-compose

// Default command (detached mode)
docker-compose up -d

// Force re-build
docker-compose up -d --build

// Overriding default CMD (with ports mapped to host)
docker-compose run --rm --service-ports app yarn run dev

docker

// Remove all containers
docker rm -f $(docker ps -aq)

// See every running containers
docker ps

// Tail log for specific container
docker logs -f --tail 50 <containerIDorName>