gloco

command module
v0.0.0-...-e82bc6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

gloco

Convert Docker Compose files to systemd units.

Why?

Because I got tired of rewriting them.

Building and installation

Grab the files:

git clone https://github.com/nevermarine/gloco

Move to project directory:

cd gloco

Build:

make

Or build directly with Go:

go build .

To install, just copy file for your operating system to any directory in your PATH.

sudo cp ./gloco-linux /usr/bin/gloco

Usage

$ gloco -h                           
Usage of ./gloco:
  -c string
    	Path to Compose file (default "docker-compose.yml")
  -i string
    	Path to resulting service file (default "result.service")

If you already have docker-compose.yml in the working directory (the repo has one), you can just run it.

$ gloco

The default output file is result.service as indicated by help string.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL