Public | Automated Build

Last pushed: 8 months ago
Short Description
mongoDB
Full Description

$ docker network create --driver=bridge --subnet=172.29.0.0/16 \
--ip-range=172.29.5.0/24 \
--gateway=172.29.5.254 \
my-net

$ docker create -v /dbdata/mongodb --name dbstore alpine /bin/true

$ docker run -d --net="my-net" --add-host="mongodb-server:172.29.5.2" --ip="172.29.5.2" -P --volumes-from dbstore --name mongodb-server nutthaphon/mongodb

Docker Pull Command
Owner
nutthaphon
Source Repository

Comments (0)