{"id":2479,"date":"2020-07-27T14:12:22","date_gmt":"2020-07-27T14:12:22","guid":{"rendered":"https:\/\/ricardomoinhos.com\/?p=2479"},"modified":"2020-07-27T14:14:37","modified_gmt":"2020-07-27T14:14:37","slug":"docker-set-fixed-subnet-in-nat-network","status":"publish","type":"post","link":"https:\/\/ricardomoinhos.com\/pt\/docker-set-fixed-subnet-in-nat-network\/","title":{"rendered":"Docker &#8211; Set fixed subnet in nat network"},"content":{"rendered":"\n<p>Docker and navcontainerhelper do an excellent work setting a dns so that you don&#8217;t need to use an ip address to connect to your docker containers but use the containers name instead (be sure to use the -updateHosts when creating the container).<\/p>\n\n\n\n<p>But, what if you want to have a network with fixed subnet and a fixed ip for your containers.<\/p>\n\n\n\n<p>To have a network with fixed subnet, you have two options:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Create a custom docker network and connect your containers to that network. Although this works, there are some caveats:<ul><li>Whenever you restart your docker host, the custom docker networks are deleted and are not recreated (at least for Windows containers, in a Win 10 or Server 2019 host);<\/li><\/ul><\/li><li>Use the default nat network. This network is automatically created when the docker host is restarted so there&#8217;s no need to recreate it every time.<ul><li>There&#8217;s a caveat though. Every time the host is restarted, the nat network usually is created in a different subnet.<\/li><\/ul><\/li><\/ol>\n\n\n\n<p>Is it possible to setup the nat network to be created on a fixed ip subnet? Sure!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Setup fixed subnet in Docker&#8217;s default nat network<\/h4>\n\n\n\n<p>Add the following config to Docker&#8217;s daemon.json file (feel free to change the cidr to whatever subnet you want):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">{\n  \"fixed-cidr\": \"172.16.1.0\/24\"\n}<\/pre>\n\n\n\n<p>If the file does not exists then you have to create it. It should be created in the host machine, in the following path: C:\\ProgramData\\docker\\config\\daemon.json<\/p>\n\n\n\n<p>You may do this using the following Powershell command, as long as the daemon.json file doesn&#8217;t exists yet.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Add-Content -path C:\\ProgramData\\docker\\config\\daemon.json -Value \"{`r`n <code>`\"fixed-cidr<\/code>`\": `<code>\"172.16.1.0\/24<\/code>`\"`<code>r`<\/code>n}\"<\/pre>\n\n\n\n<p>You need to <strong>restart the server <\/strong>after this change, so that the nat network is recreated with the new subnet.<\/p>\n\n\n\n<p>After the restart you can check if the docker network was created with the new subnet.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker inspect nat<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"607\" height=\"331\" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/07\/image-1.png\" alt=\"\" class=\"wp-image-2483\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/07\/image-1.png 607w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/07\/image-1-300x164.png 300w\" sizes=\"auto, (max-width: 607px) 100vw, 607px\" \/><\/figure>\n\n\n\n<p>The docker containers are connected to this network, by default. So if you restart your docker containers, the container ip address will be in the new subnet.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Setup fixed ip for container<\/h4>\n\n\n\n<p>What if you want to configure a fixed ip address for the container?<\/p>\n\n\n\n<p>If you&#8217;re creating a new container using navcontainerhelper you just need to add the following additional parameters flag:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">-additionalParameters @(\"--network=&lt;network>\", \"--ip &lt;fixed ip address>\")\nExample: -additionalParameters @(\"--network=nat\", \"--ip 172.16.1.2\")<\/pre>\n\n\n\n<p>The new container will have the ip 172.16.1.2.<\/p>\n\n\n\n<p>What if you already have a container created?<\/p>\n\n\n\n<p>Then you will have to run the following docker commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># If the container is connected to a different network, you'll have to disconnect it:\ndocker network disconnect &lt;other network> &lt;container name>\nExample: docker network disconnect custom_nat bccontainer\n# Then connect it to the network you want (\"nat\" in this case) with the fixed ip setting:\ndocker network connect --ip &lt;fixed ip address> &lt;network> &lt;container name>\nExample: docker network connect --ip 172.16.1.2 nat bccontainer<\/pre>\n\n\n\n<p>After this, restart the docker container:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker restart &lt;container name>\nExample: docker restart bccontainer<\/pre>\n\n\n\n<p>Then check if the docker ip is correct:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker inspect network &lt;container name>\nExample: docker inspect network bccontainer<\/pre>\n\n\n\n<p>The output is:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"858\" height=\"320\" src=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/07\/image-2.png\" alt=\"\" class=\"wp-image-2486\" srcset=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/07\/image-2.png 858w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/07\/image-2-300x112.png 300w, https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/07\/image-2-768x286.png 768w\" sizes=\"auto, (max-width: 858px) 100vw, 858px\" \/><\/figure>\n\n\n\n<p>Please feel free to leave your comments.<\/p>\n\n\n\n<p>businesscentral #navcontainerhelper #powershell #docker<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Docker and navcontainerhelper do an excellent work setting a dns so that you don&#8217;t need to use an ip address to connect to your docker containers but use the containers name instead (be sure to use the -updateHosts when creating the container). But, what if you want to have a network with fixed subnet and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1358,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[4],"tags":[59,64,6,65],"class_list":{"0":"post-2479","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-dynamics365bc","8":"tag-businesscentral","9":"tag-docker","10":"tag-dynamicsnav-2","11":"tag-powershell","13":"post-with-thumbnail","14":"post-with-thumbnail-icon"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Docker - Set fixed subnet in nat network - Ricardo Paiva Moinhos<\/title>\n<meta name=\"description\" content=\"How to set a fixed subnet in Docker and fixed ip&#039;s in Business Central containers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker - Set fixed subnet in nat network - Ricardo Paiva Moinhos\" \/>\n<meta property=\"og:description\" content=\"How to set a fixed subnet in Docker and fixed ip&#039;s in Business Central containers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/\" \/>\n<meta property=\"og:site_name\" content=\"Ricardo Paiva Moinhos\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-27T14:12:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-27T14:14:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"256\" \/>\n\t<meta property=\"og:image:height\" content=\"256\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ricardo Paiva Moinhos\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ricardo Paiva Moinhos\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/\"},\"author\":{\"name\":\"Ricardo Paiva Moinhos\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\"},\"headline\":\"Docker &#8211; Set fixed subnet in nat network\",\"datePublished\":\"2020-07-27T14:12:22+00:00\",\"dateModified\":\"2020-07-27T14:14:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/\"},\"wordCount\":417,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"keywords\":[\"\",\"docker\",\"dynamicsnav\",\"powershell\"],\"articleSection\":[\"Dynamics NAV\\\/365 BC\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/\",\"name\":\"Docker - Set fixed subnet in nat network - Ricardo Paiva Moinhos\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"datePublished\":\"2020-07-27T14:12:22+00:00\",\"dateModified\":\"2020-07-27T14:14:37+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\"},\"description\":\"How to set a fixed subnet in Docker and fixed ip's in Business Central containers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"contentUrl\":\"https:\\\/\\\/ricardomoinhos.com\\\/wp-content\\\/uploads\\\/2020\\\/02\\\/Microsoft-Dynamics-365-Business-Central-Logo.png\",\"width\":256,\"height\":256},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/docker-set-fixed-subnet-in-nat-network\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ricardomoinhos.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docker &#8211; Set fixed subnet in nat network\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#website\",\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/\",\"name\":\"Ricardo Paiva Moinhos\",\"description\":\"Welcome\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ricardomoinhos.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ricardomoinhos.com\\\/#\\\/schema\\\/person\\\/16dcfdd54ec1c46bd1941659739de4cc\",\"name\":\"Ricardo Paiva Moinhos\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g\",\"caption\":\"Ricardo Paiva Moinhos\"},\"url\":\"https:\\\/\\\/ricardomoinhos.com\\\/pt\\\/author\\\/ricardopaiva\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Docker - Set fixed subnet in nat network - Ricardo Paiva Moinhos","description":"How to set a fixed subnet in Docker and fixed ip's in Business Central containers.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/","og_locale":"pt_PT","og_type":"article","og_title":"Docker - Set fixed subnet in nat network - Ricardo Paiva Moinhos","og_description":"How to set a fixed subnet in Docker and fixed ip's in Business Central containers.","og_url":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/","og_site_name":"Ricardo Paiva Moinhos","article_published_time":"2020-07-27T14:12:22+00:00","article_modified_time":"2020-07-27T14:14:37+00:00","og_image":[{"width":256,"height":256,"url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","type":"image\/png"}],"author":"Ricardo Paiva Moinhos","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Ricardo Paiva Moinhos","Tempo estimado de leitura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/#article","isPartOf":{"@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/"},"author":{"name":"Ricardo Paiva Moinhos","@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc"},"headline":"Docker &#8211; Set fixed subnet in nat network","datePublished":"2020-07-27T14:12:22+00:00","dateModified":"2020-07-27T14:14:37+00:00","mainEntityOfPage":{"@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/"},"wordCount":417,"commentCount":0,"image":{"@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/#primaryimage"},"thumbnailUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","keywords":["","docker","dynamicsnav","powershell"],"articleSection":["Dynamics NAV\/365 BC"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/","url":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/","name":"Docker - Set fixed subnet in nat network - Ricardo Paiva Moinhos","isPartOf":{"@id":"https:\/\/ricardomoinhos.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/#primaryimage"},"image":{"@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/#primaryimage"},"thumbnailUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","datePublished":"2020-07-27T14:12:22+00:00","dateModified":"2020-07-27T14:14:37+00:00","author":{"@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc"},"description":"How to set a fixed subnet in Docker and fixed ip's in Business Central containers.","breadcrumb":{"@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/#primaryimage","url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","contentUrl":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","width":256,"height":256},{"@type":"BreadcrumbList","@id":"https:\/\/ricardomoinhos.com\/docker-set-fixed-subnet-in-nat-network\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ricardomoinhos.com\/"},{"@type":"ListItem","position":2,"name":"Docker &#8211; Set fixed subnet in nat network"}]},{"@type":"WebSite","@id":"https:\/\/ricardomoinhos.com\/#website","url":"https:\/\/ricardomoinhos.com\/","name":"Ricardo Paiva Moinhos","description":"Welcome","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ricardomoinhos.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Person","@id":"https:\/\/ricardomoinhos.com\/#\/schema\/person\/16dcfdd54ec1c46bd1941659739de4cc","name":"Ricardo Paiva Moinhos","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/248366f4e615e182964f85f799c6e33cbd541a6f4ca7ee948fc16d1c14030c76?s=96&d=mm&r=g","caption":"Ricardo Paiva Moinhos"},"url":"https:\/\/ricardomoinhos.com\/pt\/author\/ricardopaiva\/"}]}},"jetpack_featured_media_url":"https:\/\/ricardomoinhos.com\/wp-content\/uploads\/2020\/02\/Microsoft-Dynamics-365-Business-Central-Logo.png","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/2479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/comments?post=2479"}],"version-history":[{"count":8,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/2479\/revisions"}],"predecessor-version":[{"id":2494,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/posts\/2479\/revisions\/2494"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/media\/1358"}],"wp:attachment":[{"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/media?parent=2479"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/categories?post=2479"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ricardomoinhos.com\/pt\/wp-json\/wp\/v2\/tags?post=2479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}