官术网_书友最值得收藏!

There's more..

If you ever wish to debug the container, you can always run the container in the foreground by passing the -it parameters in place of -d. Additionally, try running the following command and check the output:

docker logs mymongo

Lastly, I would suggest you have a look at the start scripts used by this container's image to understand how configurations are templatized. It will definitely give you some pointers that will help when you are setting up your own MongoDB container.

With this recipe, we conclude this chapter. I hope these recipes have helped you gear up for getting started with MongoDB. As all things go, no amount of text can replace actual practice. So I sincerely request you to get your hands dirty and attempt these recipes yourself.

In the next chapter, we will take a closer look at MongoDB's indexes and how they can be leveraged to gain a tremendous performance boost in data retrieval.

主站蜘蛛池模板: 本溪市| 玛多县| 搜索| 抚松县| 陕西省| 石首市| 三江| 凭祥市| 加查县| 靖州| 鸡东县| 江阴市| 梧州市| 措勤县| 邳州市| 和平县| 鲁甸县| 延边| 辽阳市| 垦利县| 吉首市| 金川县| 罗甸县| 海晏县| 谢通门县| 璧山县| 民县| 济宁市| 双鸭山市| 陵川县| 格尔木市| 香格里拉县| 平凉市| 武鸣县| 全南县| 汉沽区| 崇州市| 东山县| 蛟河市| 蒙山县| 铁岭市|