Image that starts mongodb server in a container. It installs the server via yum thus always the latest version is available.
###Run as:
docker run -t -i -p <host_port>:27017 -v <host_dir>:/var/lib/mongo --privileged --name mongodb macmillan/mongodb
<host_dir> will persist the data of the server after the container is stopped or restarted.
###Access the mongo CLI from the container by:
docker run -t -i mongodb mongo
Content type
Image
Digest
sha256:31063638f…
Size
186.3 MB
Last updated
about 11 years ago
docker pull macmillan/mongodb