winget install --id=ClementSam.Compozify -e
Compozify is a simple (yet complicated) tool to generate a docker-compose.yml file from a docker run command.
Compozify is a tool designed to simplify the process of converting Docker run
commands into a docker-compose.yml
file. This allows users to easily transition from running individual containers to managing multi-container applications with Docker Compose.
run
command and generate a corresponding service definition in the docker-compose.yml
file.Ideal for developers and DevOps professionals who work with Docker, Compozify helps streamline workflows by automating the conversion of individual container commands into a standardized compose file format. This reduces manual effort and ensures consistency in defining and managing containerized applications.
Compozify can be installed via winget, making it easy to integrate into your development environment.
Compozify is a simple (yet complicated) tool to generate a docker-compose.yml
file from a docker run
command.
Download a binary suitable for your OS at the releases page.
curl -sfL https://raw.githubusercontent.com/profclems/compozify/main/install.sh | sh
Open a PowerShell terminal (version 5.1 or later) and run:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm https://raw.githubusercontent.com/profclems/compozify/main/install.ps1 | iex
make
Verify that you have Go 1.18+ installed
go version
If go
is not installed, follow instructions on the Go website.
Clone this repository
git clone https://github.com/profclems/compozify.git
cd compozify
If you have $GOPATH/bin
or $GOBIN
in your $PATH
, you can just install with make install
(install compozify in $GOPATH/bin
) and skip steps 3 and 4.
Build the project
make build
Change PATH to find newly compiled compozify
export PATH=$PWD/bin:$PATH
Run compozify --version
to confirm that it worked
Copyright © Clement Sam
compozify
is open-sourced software licensed under the MIT license.