Posts Tagged ‘Docker’

A dockerized mongod instance with authentication enabled

Warning: count(): Parameter must be an array or an object that implements Countable in /home/fbsqlcom/public_html/ on line 31

Here’s just a quick walkthrough showing how to create a dockerized instance of a standalone MongoDB instance. First, from within a terminal, create a folder to hold the Dockerfile… ?View Code BASHmkdir Docker_MongoDB_Image cd Docker_MongoDB_Image touch Dockerfile Edit the Dockerfile… ?View Code BASHvi Dockerfile Enter the following text. You may wish to modify the file […]