{"id":27986,"date":"2015-10-10T22:27:28","date_gmt":"2015-10-10T16:57:28","guid":{"rendered":"https:\/\/2thenew.xyz\/blog\/?p=27986"},"modified":"2015-10-13T13:01:33","modified_gmt":"2015-10-13T07:31:33","slug":"how-to-deploy-mongodb-docker-containers-using-chef","status":"publish","type":"post","link":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/","title":{"rendered":"How to deploy MongoDB Docker Containers using Chef"},"content":{"rendered":"<p>In my last <a href=\"https:\/\/2thenew.xyz\/blog\/mongodb-replica-set-on-docker\/\">blog<\/a>, we discussed how to setup MongoDB replica set on Docker, and in this blog we&#8217;ll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-28022\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/10\/mongodb_docker.png\" alt=\"mongodb_docker\" width=\"800\" height=\"266\" \/><\/p>\n<p><b>Use Case:<\/b>\u00a0As discussed in the previous blog, we earlier use to setup MongoDB replica set of three docker containers using custom shell scripts. So, I thought it would great\u00a0if we can use configuration manager tool like <a href=\"https:\/\/2thenew.xyz\/devops-chef-puppet-docker\">Chef for docker<\/a> deployments and management. In this blog, I will be demonstrating how you can deploy MongoDB docker containers using chef.<\/p>\n<p><b>Pre-requisite:<\/b>\u00a0Before going ahead with this blog prior knowledge of working with MongoDB, Docker and Chef basics are required.<\/p>\n<ol>\n<ol>\n<li>Download docker cookbook using command as mentioned below:<\/li>\n<\/ol>\n<\/ol>\n<p>[js]knife cookbook download docker[\/js]<\/p>\n<ol>\n<ol>\n<li>Chef Recipe: To create docker image and launch mongo DB containers:<\/li>\n<\/ol>\n<\/ol>\n<p>[js]# Using docker_service for installation and configuration<br \/>\ndocker_service &#8216;default&#8217; do<br \/>\n        action [:create, :start]<br \/>\nend<\/p>\n<p># Create docker image, if image not found locally<br \/>\ndocker_image &#8216;neerjaj2\/mongodb-docker&#8217; do<br \/>\n        tag &#8216;v0.1.0&#8217;<br \/>\n        source &#8216;\/home\/ubuntu\/chef-repo\/cookbooks\/docker-mongodb\/files\/default\/Dockerfile&#8217;<br \/>\n        action :build_if_missing<br \/>\nend<\/p>\n<p># Below code can be used to pull docker image from docker hub<br \/>\n&quot;docker_image &#8216;neerjaj2\/mongodb&#8217; do<br \/>\n        action :pull<br \/>\nend&quot;<\/p>\n<p># Launch docker container using above mentioned docker image<br \/>\ndocker_container &#8216;launch&#8217; do<br \/>\n        repo &#8216;neerjaj2\/mongodb-docker&#8217;<br \/>\n        tag &#8216;v0.1.0&#8217;<br \/>\n        hostname &#8216;mongo1&#8217;<br \/>\n        domain_name &#8216;ttnd.com&#8217;<br \/>\n        publish_all_ports<br \/>\n        command &#8216;&#8211;replSet ttnd &#8211;noprealloc &#8211;smallfiles&#8217;<br \/>\nend [\/js]<\/p>\n<h6>Note: You can either pull docker image from docker hub or create a custom image on every. In the above example, we are creating a new image using chef-repo\/cookbooks\/docker-Mongodb\/files\/default\/Dockerfile to customize every run.<\/h6>\n<ol>\n<ol>\n<li>Contents of Dockerfile are:<\/li>\n<\/ol>\n<\/ol>\n<p>[js]FROM ubuntu:latest<br \/>\nRUN apt-key adv &#8211;keyserver hkp:\/\/keyserver.ubuntu.com:80 &#8211;recv 7F0CEB10<br \/>\nRUN echo &#8216;deb http:\/\/downloads-distro.mongodb.org\/repo\/ubuntu-upstart dist 10gen&#8217; | tee \/etc\/apt\/sources.list.d\/10gen.list<br \/>\nRUN apt-get update<br \/>\nRUN apt-get install -y mongodb-10gen=2.2.3<br \/>\nRUN mkdir -p \/data\/db<br \/>\nEXPOSE 27017<br \/>\nENTRYPOINT [&quot;usr\/bin\/mongod&quot;]<br \/>\n[\/js]<\/p>\n<ol>\n<ol>\n<li>Also add dependency in chef-repo\/cookbooks\/docker-mongodb\/metadata.rb, as shown below:<\/li>\n<\/ol>\n<\/ol>\n<p>[js]depends &#8216;docker&#8217;, &#8216;~&gt; 1.0&#8242;[\/js]<\/p>\n<ol>\n<li>So, let\u2019s execute chef recipe using command mentioned below:<\/li>\n<\/ol>\n<ul>\n<ul>\n<li>To run chef recipe on localhost, use below mentioned command. In case you want to bootstrap remote host you can do that using knife bootstrap command.<\/li>\n<\/ul>\n<\/ul>\n<p>[js]chef-client -z -r \u201crecipe[docker-mongodb]\u201d[\/js]<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-27992\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/10\/create_docker_image_launch_container_with_chef_1.png\" alt=\"mongodb docker deployment using chef\" width=\"800\" height=\"275\" \/><\/p>\n<p>From the above screenshot, you can see our chef recipe created new docker image neerjaj2\/mongodb-docker and deployed a MongoDB container using the same.<\/p>\n<ul>\n<ul>\n<li>Let us check Mongodb docker container hostname and MongoDB daemon status:<\/li>\n<\/ul>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-27998\" src=\"\/blog\/wp-ttn-blog\/uploads\/2015\/10\/connect_to_docker_check_hostname_mongo_container_2.png\" alt=\"mongodb docker container deploy through chef\" width=\"800\" height=\"110\" \/><br \/>\nYou can now play around this chef recipe and use it as per your requirement.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we&#8217;ll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case:\u00a0As discussed in the previous blog, we earlier [&hellip;]<\/p>\n","protected":false},"author":216,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":7,"footnotes":""},"categories":[1],"tags":[1883,2558,4846],"class_list":["post-27986","post","type-post","status-publish","format-standard","hentry","category-technology","tag-docker","tag-dockerfile","tag-mongodb"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we&#039;ll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Neeraj Gupta\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we&#039;ll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we&#039;ll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#article\",\"name\":\"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog\",\"headline\":\"How to deploy MongoDB Docker Containers using Chef\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neeraj-gupta\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2015\\\/10\\\/mongodb_docker.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#articleImage\"},\"datePublished\":\"2015-10-10T22:27:28+05:30\",\"dateModified\":\"2015-10-13T13:01:33+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#webpage\"},\"articleSection\":\"Technology, docker, Dockerfile, MongoDB\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#listItem\",\"name\":\"How to deploy MongoDB Docker Containers using Chef\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#listItem\",\"position\":3,\"name\":\"How to deploy MongoDB Docker Containers using Chef\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neeraj-gupta\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neeraj-gupta\\\/\",\"name\":\"Neeraj Gupta\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/bb794d9b-6972-49da-8b73-82eea243a323_1188-Neeraj-Gupta-PROFILEPICTURE.jpeg\",\"width\":96,\"height\":96,\"caption\":\"Neeraj Gupta\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/\",\"name\":\"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog\",\"description\":\"In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we'll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-deploy-mongodb-docker-containers-using-chef\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neeraj-gupta\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/neeraj-gupta\\\/#author\"},\"datePublished\":\"2015-10-10T22:27:28+05:30\",\"dateModified\":\"2015-10-13T13:01:33+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog","description":"In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we'll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier","canonical_url":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#article","name":"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog","headline":"How to deploy MongoDB Docker Containers using Chef","author":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/neeraj-gupta\/#author"},"publisher":{"@id":"https:\/\/2thenew.xyz\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2015\/10\/mongodb_docker.png","@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#articleImage"},"datePublished":"2015-10-10T22:27:28+05:30","dateModified":"2015-10-13T13:01:33+05:30","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#webpage"},"articleSection":"Technology, docker, Dockerfile, MongoDB"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.xyz\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/2thenew.xyz\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#listItem","name":"How to deploy MongoDB Docker Containers using Chef"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#listItem","position":3,"name":"How to deploy MongoDB Docker Containers using Chef","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.xyz\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.xyz\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.xyz\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.xyz\/blog\/author\/neeraj-gupta\/#author","url":"https:\/\/2thenew.xyz\/blog\/author\/neeraj-gupta\/","name":"Neeraj Gupta","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/bb794d9b-6972-49da-8b73-82eea243a323_1188-Neeraj-Gupta-PROFILEPICTURE.jpeg","width":96,"height":96,"caption":"Neeraj Gupta"}},{"@type":"WebPage","@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#webpage","url":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/","name":"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog","description":"In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we'll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.xyz\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/neeraj-gupta\/#author"},"creator":{"@id":"https:\/\/2thenew.xyz\/blog\/author\/neeraj-gupta\/#author"},"datePublished":"2015-10-10T22:27:28+05:30","dateModified":"2015-10-13T13:01:33+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.xyz\/blog\/#website","url":"https:\/\/2thenew.xyz\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.xyz\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog","og:description":"In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we'll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier","og:url":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/","og:image":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"How to deploy MongoDB Docker Containers using Chef | TO THE NEW Blog","twitter:description":"In my last blog, we discussed how to setup MongoDB replica set on Docker, and in this blog we'll be discussing setting up MongoDB docker containers using Chef. After going through this blog, you will be able to setup multiple MongoDB customized docker containers with ease. Use Case: As discussed in the previous blog, we earlier","twitter:image":"https:\/\/2thenew.xyz\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"27986","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 06:44:59","updated":"2024-02-29 10:05:06","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.xyz\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.xyz\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to deploy MongoDB Docker Containers using Chef\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.xyz\/blog"},{"label":"Technology","link":"https:\/\/2thenew.xyz\/blog\/category\/technology\/"},{"label":"How to deploy MongoDB Docker Containers using Chef","link":"https:\/\/2thenew.xyz\/blog\/how-to-deploy-mongodb-docker-containers-using-chef\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts\/27986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/users\/216"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/comments?post=27986"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/posts\/27986\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/media?parent=27986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/categories?post=27986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.xyz\/blog\/wp-json\/wp\/v2\/tags?post=27986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}