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
- Go 1.18+
-
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 withmake 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.