![]() ![]() docker run -rm -it mongo:latest mongosh ĭoing this means we’re pulling down the entire MongoDB database just for the little mongosh tool. The easiest way is to use the official MongoDB Docker image, which includes mongosh alongside the core database engine. ![]() I couldn’t escape installing MongoDB Compass because of its graphics interface, but as a command line tool mongosh is easy to run through Docker. I’ve been using Docker as a tool to avoid installing software directly on my computer. Which is why clicking at the bottom of MongoDB Compass would bring up an integrated mongosh. GUI are nice but rarely cover 100% of all scenarios, so developers like the option of dropping to a command line. Compass is a separate application that offers GUI-based methods for interacting with a MongoDB database and/or Atlas cluster. MongoDB Compass is another item the course wants us to download and install. There are so many ways to get mongosh I refuse to download and run a full blown application installer package just for a command line tool.Īt a minimum, this duplicates work. It’s how Codecademy introduces us to MongoDB, and it’s what we use in MongoDB University’s Instruqt hands-on labs. ![]() This annoyed me, especially for the MongoDB Shell (mongosh). I was ready to just ignore and skip over those sales pitches, but then the course would quiz me to make sure I’ve actually installed them on my computer. Since it was at least partially a marketing tool, I was not surprised the course wanted to take us through a grand tour through all MongoDB products from their cloud-hosted MongoDB Atlas data platform to all the tools we can download and install. I was curious to learn more about a database that offers something different from a standard SQL relational database, so I started with their “ Introduction to MongoDB” course. To promote their product, MongoDB has setup their own online learning resource MongoDB University. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |