From 3d441619bd70e967e71a1d9d668eddc3bce7641f Mon Sep 17 00:00:00 2001 From: Kumar Kisalay Date: Thu, 19 Aug 2021 01:41:01 +0530 Subject: [PATCH] Develop (#1) * Add banner asset * Add readme --- README.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++ assets/banner.svg | 1 + 2 files changed, 50 insertions(+) create mode 100644 README.md create mode 100644 assets/banner.svg diff --git a/README.md b/README.md new file mode 100644 index 0000000..2bed199 --- /dev/null +++ b/README.md @@ -0,0 +1,49 @@ +![Krisalay|Dock Util](https://raw.githubusercontent.com/krisalay/dock-util/438e95352c7ec35c0f43243e5a95440c22d8900a/assets/banner.svg) + +In some cases we want to have a levarage where we can install/unistall some services from our system. Additionally, we want to test some features with different versions of services like RabbitMQ, Redis, and many more. +Docker provides us this levarage, but again everytime we need some service to start we have to write all sort of commands, or we can use docker-compose to start our services. +This Dock Utility provides the functionality to fork up docker services upon need. With this utility, there is no need to get all the services installed in our system. Based upon our need, we can fork up the services. + +## Services Included + +- RabbitMQ +- Redis + +## Prerequisites +- Docker installed in the system and accessible by non-root user + +## Steps to use the utility +Run the following commands before using the utility +1. `make` + +## Commands +**Start a RabbitMQ service** +```sh +./container rabbitmq start +``` +Starts a RabbitMQ and its management plugin service on port 5672 and 15672 respectively. + +**Stop a RabbitMQ service** +```sh +./container rabbitmq stop +``` +Stops RabbitMQ and its management plugin service. + +**Start a Redis service** +```sh +./container redis start +``` +Starts a Redis service on port 6379. + +**Stop a Redis service** +```sh +./container redis stop +``` +Stops Redis service. + +**Start a Redis CLI** +```sh +./container redis-cli start +``` +Starts a Redis service on port 6379 and its CLI. + diff --git a/assets/banner.svg b/assets/banner.svg new file mode 100644 index 0000000..b0c86f5 --- /dev/null +++ b/assets/banner.svg @@ -0,0 +1 @@ +Dock UtilityA tool to fork docker services \ No newline at end of file