Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/networld-to/docker-mongodb
https://github.com/networld-to/docker-mongodb
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/networld-to/docker-mongodb
- Owner: networld-to
- Created: 2013-12-29T18:27:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-01T21:21:07.000Z (about 11 years ago)
- Last Synced: 2023-08-07T17:12:50.373Z (over 1 year ago)
- Language: Shell
- Size: 121 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-mongodb
## Getting Started
Get the image via index.docker.io
$ docker pull networld/mongodb
or build from source
$ IMAGE_NAME=networld/mongodb
$ docker build -rm -t ${IMAGE_NAME} .Start a container with:
$ docker run -name mongodb -p 127.0.0.1:27017:27017 -d $IMAGE_NAME
Use mongodb from other container:
$ docker run -link=mongodb:mongo -i -t ubuntu /bin/bash
$ echo $MONGO_PORT_27017_TCP_PORT
$ echo $MONGO_PORT_27017_TCP_ADDR## License
The Sigimera Copyright (c) 2013 - 2014 by
[Sigimera Ltd.](http://www.sigimera.com)## Warranty
This software is provided "as is" and without any express or implied
warranties, including, without limitation, the implied warranties of
merchantability and fitness for a particular purpose.