874 B
874 B
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
gitandphppackages to run the script - Navigate to the directory where you want to download the utility
cd /opt
- Download the code from Git
git clone https://git.kirillius.ru/kirillius/docker-decompose.git
- Navigate to the directory
cd docker-decompose
- Allow the utility to be executed
chmod +x docker-decompose.php
- Create a symbolic link in PATH to run the utility
ln -s /opt/docker-decompose/docker-decompose.php /usr/bin/docker-decompose
Usage Example
cd folder_contains_docker-compose.yml_file
docker-decompose