From dc0555874243609284c85771cfe50ed10dc2485a Mon Sep 17 00:00:00 2001 From: "kirill.labutin" Date: Tue, 19 Aug 2025 13:58:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20re?= =?UTF-8?q?adme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..edbec7d --- /dev/null +++ b/README.md @@ -0,0 +1,45 @@ +## Docker Decompose + +This utility is designed for building and exporting containers running via Docker Compose. +As a result, the utility generates images as `.tar` files. +These files can later be imported into Mikrotik CHR. + +## Installation + +- Install the `git` and `php` packages to run the script +- Navigate to the directory where you want to download the utility + +```shell +cd /opt +``` + +- Download the code from Git + +```shell +git clone https://git.kirillius.ru/kirillius/docker-decompose.git +``` + +- Navigate to the directory + +```shell +cd docker-decompose +``` + +- Allow the utility to be executed + +```shell +chmod +x docker-decompose.php +``` + +- Create a symbolic link in PATH to run the utility + +```shell +ln -s /opt/docker-decompose/docker-decompose.php /usr/bin/docker-decompose +``` + +## Usage Example + +```shell +cd folder_contains_docker-compose.yml_file +docker-decompose +``` \ No newline at end of file