{"id":3331,"date":"2023-03-22T11:38:32","date_gmt":"2023-03-22T18:38:32","guid":{"rendered":"https:\/\/jasonsblog.ddns.net\/?p=3331"},"modified":"2023-03-22T12:36:52","modified_gmt":"2023-03-22T19:36:52","slug":"new-docker-compose-v2-17-with-nice-status-display","status":"publish","type":"post","link":"https:\/\/jasonsblog.ddns.net\/index.php\/2023\/03\/22\/new-docker-compose-v2-17-with-nice-status-display\/","title":{"rendered":"New Docker-Compose v2.17 With New Status Display"},"content":{"rendered":"\n<p>The new overall 3D progress display is really nice when you run the new Docker-Compose. I&#8217;ve also included the update notes and Github link below. Definitely worth upgrading and checking it out. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1014\" height=\"908\" src=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2023\/03\/docker-compose.png\" alt=\"\" class=\"wp-image-3332\" srcset=\"https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2023\/03\/docker-compose.png 1014w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2023\/03\/docker-compose-300x269.png 300w, https:\/\/jasonsblog.ddns.net\/wp-content\/uploads\/2023\/03\/docker-compose-768x688.png 768w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<h2 class=\"wp-block-heading\">What&#8217;s Changed<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><img loading=\"lazy\" decoding=\"async\" alt=\"sparkles\" src=\"https:\/\/github.githubassets.com\/images\/icons\/emoji\/unicode\/2728.png\" width=\"20\" height=\"20\"> Enhancements<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>introduce &#8211;wait-timeout on <code>up<\/code> by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10276\">#10276<\/a><\/li>\n\n\n\n<li>sort service &#8211;hash output by service name by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10278\">#10278<\/a><\/li>\n\n\n\n<li>compact TUI to monitor layers download progress by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10281\">#10281<\/a><\/li>\n\n\n\n<li>introduce <code>restart<\/code> for depends_on by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10284\">#10284<\/a><\/li>\n\n\n\n<li>adopt <a href=\"http:\/\/no-color.org\/\">http:\/\/no-color.org\/<\/a> by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10342\">#10342<\/a><\/li>\n\n\n\n<li>progress writer uses dockercli.Err stream by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10366\">#10366<\/a><\/li>\n\n\n\n<li>introduce dockerfile_inline by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10343\">#10343<\/a><\/li>\n\n\n\n<li>add support for <code>additional_contexts<\/code> in <code>build<\/code> service config by <a href=\"https:\/\/github.com\/laurazard\">@laurazard<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10369\">#10369<\/a><\/li>\n\n\n\n<li>watch: add file delete\/rename handling by <a href=\"https:\/\/github.com\/milas\">@milas<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10386\">#10386<\/a><\/li>\n\n\n\n<li>introduce <code>ignore<\/code> attribute for watch triggers by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10385\">#10385<\/a><\/li>\n\n\n\n<li>use progress to show copy status by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10387\">#10387<\/a><\/li>\n\n\n\n<li>update -p project name flag documentation by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10390\">#10390<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><img loading=\"lazy\" decoding=\"async\" alt=\"bug\" src=\"https:\/\/github.githubassets.com\/images\/icons\/emoji\/unicode\/1f41b.png\" width=\"20\" height=\"20\"> Fixes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>exclude unstable labels from config hash by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10275\">#10275<\/a><\/li>\n\n\n\n<li>also restart dependent services after a service has been restarted by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10273\">#10273<\/a><\/li>\n\n\n\n<li>ignore services without a build section by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10271\">#10271<\/a><\/li>\n\n\n\n<li>apply config options for pseudo-subcommands by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10289\">#10289<\/a><\/li>\n\n\n\n<li>only consider containers with config_hash labels (i.e, created by compose) by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10317\">#10317<\/a><\/li>\n\n\n\n<li>report error if project name is empty after normalization by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10334\">#10334<\/a><\/li>\n\n\n\n<li>restart only needed services by checking depends_on relations by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10338\">#10338<\/a><\/li>\n\n\n\n<li>pad can be negative on small terminal by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10336\">#10336<\/a><\/li>\n\n\n\n<li>collect built image IDs by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10372\">#10372<\/a><\/li>\n\n\n\n<li>one off container name use configured Separator for naming by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10357\">#10357<\/a><\/li>\n\n\n\n<li>fix concurrent map read\/write when recreating containers by <a href=\"https:\/\/github.com\/lrascao\">@lrascao<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10379\">#10379<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><img loading=\"lazy\" decoding=\"async\" alt=\"wrench\" src=\"https:\/\/github.githubassets.com\/images\/icons\/emoji\/unicode\/1f527.png\" width=\"20\" height=\"20\"> Internal<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>add dry-run support for <code>stop<\/code> and <code>rm<\/code> by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10257\">#10257<\/a><\/li>\n\n\n\n<li>add dry-run support for pull command by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10341\">#10341<\/a><\/li>\n\n\n\n<li>add dry-run support for push command by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10355\">#10355<\/a><\/li>\n\n\n\n<li>add dry-run support for <code>exec<\/code> command by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10252\">#10252<\/a><\/li>\n\n\n\n<li>add dry-run support for <code>restart<\/code> by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10339\">#10339<\/a><\/li>\n\n\n\n<li>ci: use CGO for tests to enable race detector by <a href=\"https:\/\/github.com\/milas\">@milas<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10261\">#10261<\/a><\/li>\n\n\n\n<li>ci: don&#8217;t use <code>-race<\/code> on Windows by <a href=\"https:\/\/github.com\/milas\">@milas<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10262\">#10262<\/a><\/li>\n\n\n\n<li>ci: bump to Go 1.20.1 and latest deps by <a href=\"https:\/\/github.com\/milas\">@milas<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10285\">#10285<\/a><\/li>\n\n\n\n<li>use go 1.20 -cover support by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10361\">#10361<\/a><\/li>\n\n\n\n<li>build and push binaries images when a PR is merged or a tag pushed by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10371\">#10371<\/a><\/li>\n\n\n\n<li>use CGO to enable fsevent on OSX [ENV-37] by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10249\">#10249<\/a><\/li>\n\n\n\n<li>watch: ignore ephemeral files &amp; minor output tweaks by <a href=\"https:\/\/github.com\/milas\">@milas<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10311\">#10311<\/a><\/li>\n\n\n\n<li>test: tweak pause test to try and prevent failures in Windows CI by <a href=\"https:\/\/github.com\/milas\">@milas<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10320\">#10320<\/a><\/li>\n\n\n\n<li>preserve symbol table in binaries for static analysis (<code>govulncheck<\/code>) by <a href=\"https:\/\/github.com\/tianon\">@tianon<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10325\">#10325<\/a><\/li>\n\n\n\n<li>use <code>build<\/code> as common API for build scenarios by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10374\">#10374<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Changelog<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>build(deps): bump go.uber.org\/goleak from 1.1.12 to 1.2.1 by <a href=\"https:\/\/github.com\/dependabot\">@dependabot<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10279\">#10279<\/a><\/li>\n\n\n\n<li>build(deps): bump github.com\/docker\/buildx from 0.10.2 to 0.10.3 by <a href=\"https:\/\/github.com\/dependabot\">@dependabot<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10291\">#10291<\/a><\/li>\n\n\n\n<li>build(deps): bump github.com\/containerd\/containerd from 1.6.17 to 1.6.18 by <a href=\"https:\/\/github.com\/dependabot\">@dependabot<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10287\">#10287<\/a><\/li>\n\n\n\n<li>bump golang\/x\/net to v0.7.0 (<a href=\"https:\/\/github.com\/advisories\/GHSA-vvpx-j8f3-3w6h\">CVE-2022-41723<\/a>) by <a href=\"https:\/\/github.com\/glours\">@glours<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10302\">#10302<\/a><\/li>\n\n\n\n<li>build(deps): bump github.com\/stretchr\/testify from 1.8.1 to 1.8.2 by <a href=\"https:\/\/github.com\/dependabot\">@dependabot<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10316\">#10316<\/a><\/li>\n\n\n\n<li>build(deps): bump go.opentelemetry.io\/otel from 1.13.0 to 1.14.0 by <a href=\"https:\/\/github.com\/dependabot\">@dependabot<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10329\">#10329<\/a><\/li>\n\n\n\n<li>build(deps): bump github.com\/containerd\/containerd from 1.6.18 to 1.6.19 by <a href=\"https:\/\/github.com\/dependabot\">@dependabot<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10330\">#10330<\/a><\/li>\n\n\n\n<li>update compose-go by <a href=\"https:\/\/github.com\/ndeloof\">@ndeloof<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10335\">#10335<\/a><\/li>\n\n\n\n<li>build(deps): bump github.com\/moby\/buildkit from 0.11.3 to 0.11.4 by <a href=\"https:\/\/github.com\/dependabot\">@dependabot<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10353\">#10353<\/a><\/li>\n\n\n\n<li>build(deps): bump github.com\/docker\/buildx from 0.10.3 to 0.10.4 by <a href=\"https:\/\/github.com\/dependabot\">@dependabot<\/a> in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10352\">#10352<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">New Contributors<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/tianon\">@tianon<\/a> made their first contribution in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10325\">#10325<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/lrascao\">@lrascao<\/a> made their first contribution in <a href=\"https:\/\/github.com\/docker\/compose\/pull\/10379\">#10379<\/a><\/li>\n<\/ul>\n\n\n\n<p><strong>Full Changelog<\/strong>: <a href=\"https:\/\/github.com\/docker\/compose\/compare\/v2.16.0...v2.17.0\">v2.16.0&#8230;v2.17.0<\/a><\/p>\n<cite><a href=\"https:\/\/github.com\/docker\/compose\/releases\/tag\/v2.17.0\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/docker\/compose\/releases\/tag\/v2.17.0<\/a><\/cite><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>The new overall 3D progress display is really nice when you run the new Docker-Compose. I&#8217;ve also included the update notes and Github link below. Definitely worth upgrading and checking it out.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-3331","post","type-post","status-publish","format-standard","hentry","category-tech"],"blocksy_meta":[],"featured_image_src":null,"author_info":{"display_name":"Jason","author_link":"https:\/\/jasonsblog.ddns.net\/index.php\/author\/jturning\/"},"_links":{"self":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/3331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/comments?post=3331"}],"version-history":[{"count":3,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/3331\/revisions"}],"predecessor-version":[{"id":3335,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/3331\/revisions\/3335"}],"wp:attachment":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/media?parent=3331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/categories?post=3331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/tags?post=3331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}