Public Repository

Last pushed: 2 years ago
Short Description
from dockerfile/mongodb
Full Description

run mongodb

docker run -d -p 27017:27017 --name mongodb -v /var/docker-data/mongodb:/data/db moahom/mongodb

shell mongo databases

docker run -it --rm --link mongodb:mongo moahom/webclient-maria-mongo bash -c 'mongo --host <ip host mongo>'

run mongoDB map WebApplication

docker run -it --link mongodb:mongo -d -p 5522:80 -v /var/www:/usr/share/nginx/html moahom/webclient-maria-mongo
Docker Pull Command
Owner
moahom

Comments (0)