Sign inSign up

greenlizard/hoodie

By greenlizard

Updated almost 11 years ago

to development

Image
1

3.5K

greenlizard/hoodie repository overview

Docker container for hoodie development

Content

Setup

docker run -d -p 6003:6003 --name couchdb klaemo/couchdb
echo "alias hoodie='docker run --rm -it --link couchdb:couchdb -v $(pwd):/src --name hoodie greenlizard/hoodie hoodie

'" >> ~/.bash_aliases source ~/.bash_aliases

The alias command lets you use hoodie for running any command inside the hoodie container.

New Project

hoodie new HelloWorld
cd HelloWorld
hoodie start

Miscellaneous

I keep all my dockerfiles in a folder:

dockerfiles/
├── hoodie
│   ├── Dockerfile
│   └── readme
├── base
    ├── Dockerfile
    └── readme

The readme has the build command. For emample - docker build -t hoodie .. I just run it once and add an alias to my .bash_profile

Useful commands

docker run -d -p 6003:5984 --name couchdb klaemo/couchdb
docker run --rm -it --link couchdb:couchdb -v $(pwd):/src -w /src --name hoodie greenlizard/hoodie hoodie
alias hoodie="docker run --rm -i --link couchdb:couchdb -v $(pwd):/src -w /src --name hoodie greenlizard/hoodie hoodie"
docker run --rm -it --link couchdb:couchdb -v $(pwd):/src -w /src greenlizard/hoodie hoodie

Tag summary

Content type

Image

Digest

sha256:51bea1b1e

Size

119.6 MB

Last updated

almost 11 years ago

docker pull greenlizard/hoodie