Quick refresh on one way to manage a Mongo database for access by Python programs. Set a directory to store the database. Let's call this /mnt/mongodata. Then run a docker container with the most recent version of MongoDB: docker run --name mongoserver -p 27017:27017 -v /mnt/mongodata:/data/db mongo. Just for completeness: the "--name" flag allows us … Continue reading MongoDB with Docker – Quick Refresh
Tag: mongo
Taming the Docker Blob
Or understanding how to best use Docker. Docker is a great way to build services with modular and changeable components without borking your server / computer. I like to think of Docker containers as a system version of Python's virtual environment - you can build a stack of services and applications through a Docker file, … Continue reading Taming the Docker Blob
