Swiss Army knife for Docker
Clone or download
Pull request Compare This branch is 1 commit ahead of mattes:v1.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps
examples
fugu
.gitignore
.travis.yml
LICENSE
Makefile
README.md
dockerflags.go
fugu.go
fugu.png
fugu_test.go
fuguflags.go
helper.go

README.md

What is fugu?

  • fugu is a convenience wrapper around docker commands
  • fugu loads config from a fugu.yml file and merges these arguments with command line flags.

Example

# fugu.yml (maybe stored next to Dockerfile)
image:  ubuntu
name:   my-ubuntu
publish:
  - 8080:80
$ fugu run --detach # runs ...
docker run --detach --name=my-ubuntu --publish=8080:80 ubuntu

Fugu commands include: build, run, exec, destroy, push, pull, images.

Installation

# Mac OS X
curl -L https://github.com/mattes/fugu/releases/download/v1.1.1/fugu.v1.1.1.darwin.x86_64.tar.gz | tar xvz
mv fugu.v1.1.1.darwin.x86_64 /usr/local/bin/fugu
chmod +x /usr/local/bin/fugu

# Linux
curl -L https://github.com/mattes/fugu/releases/download/v1.1.1/fugu.v1.1.1.linux.x86_64.tar.gz | tar xvz
mv fugu.v1.1.1.linux.x86_64 /usr/local/bin/fugu
chmod +x /usr/local/bin/fugu

How is this different from docker-compose/ fig?

While aciklovir allvarliga biverkningar (originated from fig) focuses on the definition and orchestration of complex application environments, fugu focuses on one single docker container/ docker image.

Changelog

Find the changelog and breaking changes here: https://github.com/mattes/fugu/releases