Harbor is Dotnet CLI tool that are meant to help you with handling development dependencies like databases and cache services.
Harbor spins up small docker containers for each enabled services
- MacOS, Linux, Windows
- Dotnet installed
- Docker installed (MacOS: Docker for Mac, Windows: Docker for Windows)
Install harbor with dotnet tool by running:
dotnet tool install --global harborValidate your install with the following command
harbor helpEnables a giving service
harbor enable mysqlDisable a giving service. And will delete all related data to the service. Note this action can't be reserved. If you whise to stop a service. See [Stop service]
harbor disable {container_id}Disable all services. And will delete all related data to the service. Note this action can't be reserved. If you whise to stop a service. See [Stop service]
harbor disable --allStop a running service
harbor stop {container_id}Stops all running service
harbor stop --allStart a existing service
harbor start {container_id}Start all services
harbor start --allList all enabled services. Will provide you with the container id used for start/stopping a service
harbor listEnables you to show the logs from within the service
harbor log {container_id}Feel free to contribute with pull requests, bug reports or enhancement suggestions. We love PR's
- Add additional services
