Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Docker

Info
titleNote

Currently `bash ./oms.sh` pretty much equals `docker-compose` (oms.sh is a helper script that loads several docker-compose.yml files and combines them using the '-f' option, when running it you can see the full command)


Useful commands:

  • `bash ./oms.sh up -d`
    • Start the system in detached mode - no endless log in the terminal.
  • `bash ./oms.sh down -v`
    • (Gracefully) stop the system, `-v` specifies that the volumes (data) of the containers should be removed as well
  • `docker ps -a`
    • Show (`-a` for all) running containers
  • `bash ./oms.sh logsĀ [container-name]`
    • Show the logs of a specific container, leave empty for all logs
  • `bash ./oms.sh run [container-name] bash`
    • 'Enter' the container using bash.

...