Skip to content

profclems/compozify

Repository files navigation

Compozify

Compozify is a simple (yet complicated) tool to generate a docker-compose.yml file from a docker run command.

Usage

Screenshot

image

Installation

Download a binary suitable for your OS at the releases page.

Quick install

Linux and macOS

curl -sfL https://raw.githubusercontent.com/profclems/compozify/main/install.sh | sh

Windows (PowerShell)

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

From source

Prerequisites for building from source

  • make
  • Go 1.18+
  1. Verify that you have Go 1.18+ installed

    go version

    If go is not installed, follow instructions on the Go website.

  2. 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.

  3. Build the project

    make build
  4. Change PATH to find newly compiled compozify

    export PATH=$PWD/bin:$PATH
  5. Run compozify --version to confirm that it worked

License

Copyright © Clement Sam

compozify is open-sourced software licensed under the MIT license.