добавил readme

This commit is contained in:
kirill.labutin 2025-08-19 13:58:18 +03:00
parent caf0f55219
commit dc05558742
1 changed files with 45 additions and 0 deletions

45
README.md Normal file
View File

@ -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
```