8000 GitHub - mattes/fugu at v0.1.2
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 12, 2018. It is now read-only.

mattes/fugu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is fugu?

  • fugu is a wrapper around docker run & build commands.
  • fugu loads arguments from a fugu.yml file and merges these arguments with cli options.
  • fugu is NOT an orchestration tool like fig.

Example

# fugu.yml (maybe stored next to Dockerfile)
image:  mattes/hello-world-nginx # mandatory
name:   hello-world-nginx
detach: true
publish:
  - 8080:80
$ fugu run -e VERY=nice # runs ...
docker run --detach --name="hello-world-nginx" --env="VERY=nice" --publish="8080:80" mattes/hello-world-nginx

All docker options are supported. See full documentation here.

Installation

# Mac OS X
curl -L https://github.com/mattes/fugu/releases/download/v0.1.1/fugu.v0.1.1.darwin.x86_64.tar.gz | tar xvz
mv fugu.v0.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/v0.1.1/fugu.v0.1.1.linux.x86_64.tar.gz | tar xvz
mv fugu.v0.1.1.linux.x86_64 /usr/local/bin/fugu
chmod +x /usr/local/bin/fugu

# from source, if you have GO installed
go get github.com/mattes/fugu

Why fugu?

We are working on developermail.io atm. The project uses a microservice architecture and consists of lots of docker images. During development a docker container is built, run and destroyed quite often. With fugu we can speed up this workflow, because all docker run arguments are stored in the fugu.yml file. We also used to put docker run statements in README.md, but the format wasn't consistent. Now fugu.yml is our second point of contact (after the Dockerfile itself), when looking at a new docker image somebody else created. We didn't want to use fig, because the set of containers we run during development changes often and we didn't want to have one fig.yml for every possible docker container combination.


Build Status GoDoc

Credits

Thanks to Thiago Lifter for his nice fugu fish logo.

About

Swiss Army knife for Docker

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0