{"id":11358,"date":"2018-06-20T17:57:49","date_gmt":"2018-06-20T15:57:49","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/"},"modified":"2023-07-17T16:58:19","modified_gmt":"2023-07-17T14:58:19","slug":"dealing-with-automatic-restart-and-sql-docker-containers","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/","title":{"rendered":"Dealing with automatic restart and SQL Docker containers"},"content":{"rendered":"<p>A couple of weeks ago, a customer asked me how to restart containers automatically after a reboot of the underlying host. In his context, it was not an insignificant question because some containers are concerned by SQL Server databases and he wanted to stay relaxed as long as possible even after a maintenance of the Linux host by sysadmins. The concerned (DEV) environment doesn\u2019t include container orchestration like Swarm or Kubernetes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24482\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-0-banner.jpg\" alt=\"blog 139 - 0 - banner\" width=\"658\" height=\"315\" \/><\/p>\n<p>The interesting point is there are several ways to perform the job according to the context. Let\u2019s say I was concerned by services outside Docker that are depend of the containerized database environment.<\/p>\n<p>The first method is a purely sysadmin solution that includes systemd which is a Linux process manager that can be used to automatically restart services that fail with restarting policy values as no, on-success, on-failure, on-abnormal, on-watchdog, on-abort, or always. The latter fits well with my customer scenario.<\/p>\n<p>Is there advantage to use this approach? Well, in my customer context some services outside docker are dependent of the SQL container and using systemd is a good way to control dependencies.<\/p>\n<p>Below the service unit file used during my mission and I have to give credit to the <a href=\"https:\/\/blogs.msdn.microsoft.com\/sqlcat\/2017\/07\/03\/how-the-sqlcat-customer-lab-is-monitoring-sql-on-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\">SQL Server Customer Advisory team<\/a> who published an example of this file included in their monitoring solution based on InfluxDB, Grafana and collectd. The template file includes <a href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/7\/html\/system_administrators_guide\/sect-managing_services_with_systemd-unit_files\" target=\"_blank\" rel=\"noopener noreferrer\">unit specifiers<\/a> that make it generic. I just had to change the name of the system unit file accordingly to which container I wanted to control.<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[Unit]\nDescription=Docker Container %I\nRequires=docker.service\nAfter=docker.service\n\n[Service]\nTimeoutStartSec=0\nRestart=always\nExecStart=\/usr\/bin\/docker start -a %i\nExecStop=\/usr\/bin\/docker stop -t 2 %i\n\n[Install]\nWantedBy=default.target<\/pre>\n<p>Let\u2019s say I have one SQL Server container named <em>sql<\/em>. The next step will consist in copying the service template to <em>\/etc\/systemd\/system<\/em> and changing the service name accordingly to the SQL container name. Thus, we may now benefit from the systemctl command capabilities<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">$ sudo cp .\/service-template \/etc\/systemd\/system\/docker-container@sql.service\n$ systemctl daemon-reload\n$ sudo systemctl enable docker-container@sql<\/pre>\n<p>That\u2019s it. I may get the status of my new service as following<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">$ sudo systemctl status docker-container@sql<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-24480\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container.jpg\" alt=\"blog 139 - 1 - systemctl status docker container\" width=\"1024\" height=\"323\" \/><\/p>\n<p>I can also stop and start my SQL docker container like this:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[clustadmin@docker3 ~]$ sudo systemctl stop docker-container@sql\n[clustadmin@docker3 ~]$ docker ps -a\nCONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS                     PORTS               NAMES\n9a8cad6f21f5        microsoft\/mssql-server-linux:2017-CU7   \"\/opt\/mssql\/bin\/sqls\u2026\"   About an hour ago   Exited (0) 7 seconds ago                       sql<\/pre>\n<p>&#8230;<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[clustadmin@docker3 ~]$ sudo systemctl start docker-container@sql\n[clustadmin@docker3 ~]$ docker ps\nCONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS              PORTS                    NAMES\n9a8cad6f21f5        microsoft\/mssql-server-linux:2017-CU7   \"\/opt\/mssql\/bin\/sqls\u2026\"   About an hour ago   Up 5 seconds        0.0.0.0:1433-&gt;1433\/tcp   sql<\/pre>\n<p>This method met my customer requirement but I found one drawback in a specific case when I stop my container from <strong><em>systemctl<\/em><\/strong> command and then I restart it by using <strong><em>docker start<\/em><\/strong> command. Thus the status is not reported correctly (<strong><em>Active = dead<\/em><\/strong>) and I have to run <strong><em>systemctl restart<\/em><\/strong> command against my container to go back to normal. I will probably update this post or to write another one after getting some information on this topic or just feel free to comments: I&#8217;m willing to hear about you!<\/p>\n<p>The second method I also proposed to my customer for other SQL containers without any external dependencies was to rely on the Docker container <a href=\"https:\/\/docs.docker.com\/engine\/reference\/run\/#restart-policies---restart\" target=\"_blank\" rel=\"noopener noreferrer\">restart policy<\/a> capability. This is a powerful feature and very simple to implement with either docker run command or Dockerfile as follows:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=P@$w0rd1' -p 1433:1433 --restart=unless-stopped -d microsoft\/mssql-server-linux:2017-CU7<\/pre>\n<p>Restart-policy values as Always and unless-stopped fit well with my customer scenario even if I prefer the latter option because it provides another level of control if you manually decide to stop the container for any reasons.<\/p>\n<p>I will voluntary omit the third method that consist in installing systemd directly into the container because it is not recommended by Docker itself and not suitable with my customer case as well.<\/p>\n<p>See you!<\/p>\n<p><span style=\"float: none; background-color: #ffffff; color: #333333; cursor: text; font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none;\">By David Barbarin<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple of weeks ago, a customer asked me how to restart containers automatically after a reboot of the underlying host. In his context, it was not an insignificant question because some containers are concerned by SQL Server databases and he wanted to stay relaxed as long as possible even after a maintenance of the [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":11361,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[720,601,73,1346,1241],"type_dbi":[],"class_list":["post-11358","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring","tag-container","tag-docker","tag-linux","tag-sqlserver","tag-systemd"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Dealing with automatic restart and SQL Docker containers<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dealing with automatic restart and SQL Docker containers\" \/>\n<meta property=\"og:description\" content=\"A couple of weeks ago, a customer asked me how to restart containers automatically after a reboot of the underlying host. In his context, it was not an insignificant question because some containers are concerned by SQL Server databases and he wanted to stay relaxed as long as possible even after a maintenance of the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-20T15:57:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-17T14:58:19+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"284\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Microsoft Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/\"},\"author\":{\"name\":\"Microsoft Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4\"},\"headline\":\"Dealing with automatic restart and SQL Docker containers\",\"datePublished\":\"2018-06-20T15:57:49+00:00\",\"dateModified\":\"2023-07-17T14:58:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/\"},\"wordCount\":546,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg\",\"keywords\":[\"container\",\"Docker\",\"Linux\",\"SQLServer\",\"systemd\"],\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/\",\"name\":\"Dealing with automatic restart and SQL Docker containers\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg\",\"datePublished\":\"2018-06-20T15:57:49+00:00\",\"dateModified\":\"2023-07-17T14:58:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg\",\"width\":900,\"height\":284},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dealing with automatic restart and SQL Docker containers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4\",\"name\":\"Microsoft Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g\",\"caption\":\"Microsoft Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/microsoft-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Dealing with automatic restart and SQL Docker 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:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/","og_locale":"en_US","og_type":"article","og_title":"Dealing with automatic restart and SQL Docker containers","og_description":"A couple of weeks ago, a customer asked me how to restart containers automatically after a reboot of the underlying host. In his context, it was not an insignificant question because some containers are concerned by SQL Server databases and he wanted to stay relaxed as long as possible even after a maintenance of the [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/","og_site_name":"dbi Blog","article_published_time":"2018-06-20T15:57:49+00:00","article_modified_time":"2023-07-17T14:58:19+00:00","og_image":[{"width":900,"height":284,"url":"http:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg","type":"image\/jpeg"}],"author":"Microsoft Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Microsoft Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/"},"author":{"name":"Microsoft Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4"},"headline":"Dealing with automatic restart and SQL Docker containers","datePublished":"2018-06-20T15:57:49+00:00","dateModified":"2023-07-17T14:58:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/"},"wordCount":546,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg","keywords":["container","Docker","Linux","SQLServer","systemd"],"articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/","url":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/","name":"Dealing with automatic restart and SQL Docker containers","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg","datePublished":"2018-06-20T15:57:49+00:00","dateModified":"2023-07-17T14:58:19+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/blog-139-1-systemctl-status-docker-container-e1529517210506.jpg","width":900,"height":284},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/dealing-with-automatic-restart-and-sql-docker-containers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Dealing with automatic restart and SQL Docker containers"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/bfab48333280d616e1170e7369df90a4","name":"Microsoft Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c44a1a792c059f24055763aa77d80a244467f6eef724a8bd13db8d4a350b7a4c?s=96&d=mm&r=g","caption":"Microsoft Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/microsoft-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=11358"}],"version-history":[{"count":1,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11358\/revisions"}],"predecessor-version":[{"id":26783,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11358\/revisions\/26783"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/11361"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=11358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=11358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=11358"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=11358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}