- Installs Mongo
- Installs Bindaas
Make sure to have the current directory to be writable by the Docker user.
$ docker run --name bindaas-mongo -e TZ=America/New_York -v $PWD/projects:/root/bindaas/bin/projects -v $PWD/log:/root/bindaas/log/ -p 9099:9099 pradeeban/bindaas:3.4.2withMongo
or with the web interface:
$ docker run --name bindaas-mongo -e TZ=America/New_York -v $PWD/projects:/root/bindaas/bin/projects -v $PWD/log:/root/bindaas/log/ -p 9099:9099 -p 8080:8080 pradeeban/bindaas:3.4.2withMongo
From the root directory,
$ docker build -t bindaas:3.4.2withMongo .
You will get the output "Successfully tagged bindaas:3.4.2withMongo" if everything went fine.
Confirm that by running
$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
bindaas 3.4.2withMongo a9a81d677bb2 5 minutes ago 59MB
$ docker tag bindaas:3.4.2withMongo pradeeban/bindaas:3.4.2withMongo
Before committing, make sure Bindaas runs fine in the container using the command above listed under the "For the Bindaas User" section.
$ docker login
$ docker push pradeeban/bindaas:3.4.2withMongo