Image Overview: mongodb

Overview: mongodb Chainguard Image

The MongoDB Database image

Download this Image

The image is available on

docker pull

Using MongoDB

$ docker run

Connect to the MongoDB Deployment with mongosh and confirm your MongoDB instance is running by inserting a new document

$ mongosh --port 27017
$test> db.products.insert( { item: "card", qty: 15 } )
  acknowledged: true,
  insertedIds: { '0': ObjectId('662141e9a1519b8bd2ac3fc4') }
$test> show collections

Last updated: 2024-04-22 00:45