tchivert 5e049f82c5
build / build (push) Successful in 1m48s
add options, fix input processing
2024-01-26 08:43:27 +01:00
2023-07-16 01:47:09 +02:00
2023-11-28 10:38:28 +01:00
2023-11-28 10:58:17 +01:00
2023-11-28 11:07:23 +01:00
2024-01-26 08:43:27 +01:00
2023-04-17 17:26:14 +02:00
2023-04-14 16:42:56 +02:00
2023-06-30 15:41:36 +02:00
2023-04-14 16:42:56 +02:00
2023-04-19 18:42:39 +02:00

Docker Run to Docker Compose Converter

This project is a web application that converts a docker run command into a Docker Compose configuration file (YAML format). It aims to help users create Docker Compose files from existing docker run commands, simplifying the process of migrating from standalone containers to a more organized and manageable structure using Docker Compose.

Features

  • Supports most common docker run flags
  • Generates a Docker Compose version 3 file
  • Can be used with a simple docker-compose up -d command

Usage

git clone https://git.rznet.fr/razian/runcompose.git
cd runcompose
docker compose up -d
  • Open your web browser and navigate to http://localhost:8080.
  • Paste your docker run command into the input field and click the "Convert" button.
  • Copy the generated Docker Compose configuration and save it as docker-compose.yml in your project directory.

Build

git clone https://git.rznet.fr/razian/runcompose.git
cd runcompose
go build -o runcompose
./runcompose

Limitations

  • Some flags from docker run may not have a direct equivalent in Docker Compose, and they might be ignored during the conversion process.
  • Complex or unconventional docker run commands might not be correctly parsed.
Description
Converts a docker run command into a Docker Compose configuration file
https://runcompose.fr
Readme MIT 41 KiB
Languages
Go 74.6%
HTML 19%
Makefile 3.4%
Dockerfile 3%