Public | Automated Build

Last pushed: 2 years ago
Short Description
to development
Full Description

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
Docker Pull Command
Owner
greenlizard
Source Repository

Comments (0)