There are a large number of MongoDB images available on Docker Hub. To support administering the MongoDB instance, we can easily create a second container to run Mongo Express. Optionally, a configuration file can be mounted into the container for customization. Launching MongoDB on Docker requires mounting a data directory into the Docker container. Our goal in this post is an introduction to using MongoDB in Docker. It is a fully featured database that inspired a wave of non-traditional-non-SQL database usage. We won't be going into any of that in this tutorial, but it's useful to know those capabilities exist. This makes the experience of using MongoDB more free flowing and fluid.īeing distributed means that MongoDB has built-in support for multiple instances, on multiple servers, maintaining the same data set. There is no formal schema, unlike SQL databases. The user interface and query language is about queries into collections of JSON objects. No database makes you more productive." That's a nice marketing speech, but what does it mean?īeing document-based means " it stores data in JSON-like documents." The actual data storage on disk is BSON, a binary form of JSON. MongoDB is billed as " a general purpose, document-based, distributed database built for modern application developers and for the cloud era.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |