Public Repository

Last pushed: 4 months ago
Short Description
Mongodb Database Docker Image
Full Description

docker pull docker.io/svon/mongo:v1

docker run -d -p 27017:27017 --name mongodb docker.io/svon/mongo:v1 --auth

docker exec -it mongodb /bin/bash

use admin;
db.createUser({ user: 'user name', pwd: 'passwrod', roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] });

Docker Pull Command
Owner
svon

Comments (0)