Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 925 Bytes

dokr.md

File metadata and controls

41 lines (25 loc) · 925 Bytes

dokr.sh

Provides rudimentary management for local development tools via Docker containers.

Prerequisites:

Specification needs to follow a naming convention, where a unique name is eventually passed to the dokr.sh as a parameter:

  • The YAML file is named <name>.yaml.
  • Service containers are prefixed with <name>.

Usage:

dokr.sh [-h] <name> <command>

Options:

  • -h

    Show usage description.

  • name

    Name of the tool to execute the given command for.

  • command

    Action to take with given tool:

    • down: stops the container(s) associated with the tool
    • up: starts the container(s) specified for the tool

Examples:

dokr.sh mongo up