{"id":3375,"date":"2022-10-13T12:05:25","date_gmt":"2022-10-13T10:05:25","guid":{"rendered":"https:\/\/www.robinglauser.ch\/blog\/?p=3375"},"modified":"2022-10-13T10:29:11","modified_gmt":"2022-10-13T08:29:11","slug":"how-to-fix-no-space-left-on-device-docker","status":"publish","type":"post","link":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/","title":{"rendered":"How to Fix &#8220;No space left on device docker&#8221;"},"content":{"rendered":"<blockquote><p>mkdir: cannot create directory \u2018x\u2019: No space left on device docker<\/p><\/blockquote>\n<p>It took me a bit of time to find the solution for this, so here is a solution for the next person searching this on google.<\/p>\n<p>First open up the Docker Desktop app and go into the settings:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3377 size-large\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.06.53@2x-1024x830.png\" alt=\"\" width=\"750\" height=\"608\" srcset=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.06.53@2x-1024x830.png 1024w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.06.53@2x-370x300.png 370w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.06.53@2x-768x623.png 768w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.06.53@2x.png 1496w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>Then go to Resources and there you can increase the disk image size. If you got this error, the image size and the used amount should match.<\/p>\n<p><strong>To fix the issue you have to give the disk image more space. This will then restart the docker service and you should be able to run the command that resulted in the error.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3378 size-large\" src=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.07.58@2x-1024x846.png\" alt=\"\" width=\"750\" height=\"620\" srcset=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.07.58@2x-1024x846.png 1024w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.07.58@2x-363x300.png 363w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.07.58@2x-768x634.png 768w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.07.58@2x-1536x1269.png 1536w, https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/CleanShot-2022-10-13-at-09.07.58@2x.png 1656w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">mkdir: cannot create directory \u2018x\u2019: No space left on device docker It took me a bit of time to find the solution for this, so here is a solution for the next person searching this on google. First open up the Docker Desktop app and go into the settings: Then go to Resources and there you can increase the disk &#8230; <a class=\"read-more\" href=\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":3383,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[45],"tags":[],"class_list":["post-3375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Fix &quot;No space left on device docker&quot; - Robin Glauser<\/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.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix &quot;No space left on device docker&quot; - Robin Glauser\" \/>\n<meta property=\"og:description\" content=\"mkdir: cannot create directory \u2018x\u2019: No space left on device docker It took me a bit of time to find the solution for this, so here is a solution for the next person searching this on google. First open up the Docker Desktop app and go into the settings: Then go to Resources and there you can increase the disk ... Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/\" \/>\n<meta property=\"og:site_name\" content=\"Robin Glauser\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-13T10:05:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2254\" \/>\n\t<meta property=\"og:image:height\" content=\"1142\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Robin Glauser\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@robinglauser\" \/>\n<meta name=\"twitter:site\" content=\"@robinglauser\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Robin Glauser\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/\"},\"author\":{\"name\":\"Robin Glauser\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19\"},\"headline\":\"How to Fix &#8220;No space left on device docker&#8221;\",\"datePublished\":\"2022-10-13T10:05:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/\"},\"wordCount\":119,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19\"},\"image\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png\",\"articleSection\":[\"Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/\",\"url\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/\",\"name\":\"How to Fix \\\"No space left on device docker\\\" - Robin Glauser\",\"isPartOf\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png\",\"datePublished\":\"2022-10-13T10:05:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#primaryimage\",\"url\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png\",\"contentUrl\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png\",\"width\":2254,\"height\":1142},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.robinglauser.ch\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix &#8220;No space left on device docker&#8221;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#website\",\"url\":\"https:\/\/www.robinglauser.ch\/blog\/\",\"name\":\"Robin Glauser\",\"description\":\"My Blog about Development, Design and my random thoughts.\",\"publisher\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.robinglauser.ch\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19\",\"name\":\"Robin Glauser\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg\",\"url\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg\",\"contentUrl\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg\",\"width\":800,\"height\":530,\"caption\":\"Robin Glauser\"},\"logo\":{\"@id\":\"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg\"},\"description\":\"I'm a web developer.\",\"sameAs\":[\"https:\/\/www.robinglauser.ch\",\"https:\/\/www.instagram.com\/robinglauser\/\",\"https:\/\/x.com\/robinglauser\"],\"url\":\"https:\/\/www.robinglauser.ch\/blog\/author\/robin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix \"No space left on device docker\" - Robin Glauser","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.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix \"No space left on device docker\" - Robin Glauser","og_description":"mkdir: cannot create directory \u2018x\u2019: No space left on device docker It took me a bit of time to find the solution for this, so here is a solution for the next person searching this on google. First open up the Docker Desktop app and go into the settings: Then go to Resources and there you can increase the disk ... Read More","og_url":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/","og_site_name":"Robin Glauser","article_published_time":"2022-10-13T10:05:25+00:00","og_image":[{"width":2254,"height":1142,"url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png","type":"image\/png"}],"author":"Robin Glauser","twitter_card":"summary_large_image","twitter_creator":"@robinglauser","twitter_site":"@robinglauser","twitter_misc":{"Written by":"Robin Glauser","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#article","isPartOf":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/"},"author":{"name":"Robin Glauser","@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"headline":"How to Fix &#8220;No space left on device docker&#8221;","datePublished":"2022-10-13T10:05:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/"},"wordCount":119,"commentCount":0,"publisher":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"image":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png","articleSection":["Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/","url":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/","name":"How to Fix \"No space left on device docker\" - Robin Glauser","isPartOf":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#primaryimage"},"image":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#primaryimage"},"thumbnailUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png","datePublished":"2022-10-13T10:05:25+00:00","breadcrumb":{"@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#primaryimage","url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png","contentUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2022\/10\/docker.png","width":2254,"height":1142},{"@type":"BreadcrumbList","@id":"https:\/\/www.robinglauser.ch\/blog\/2022\/10\/13\/how-to-fix-no-space-left-on-device-docker\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.robinglauser.ch\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix &#8220;No space left on device docker&#8221;"}]},{"@type":"WebSite","@id":"https:\/\/www.robinglauser.ch\/blog\/#website","url":"https:\/\/www.robinglauser.ch\/blog\/","name":"Robin Glauser","description":"My Blog about Development, Design and my random thoughts.","publisher":{"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.robinglauser.ch\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.robinglauser.ch\/blog\/#\/schema\/person\/e1a94504a6ff5171fa13670932514b19","name":"Robin Glauser","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","url":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","contentUrl":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg","width":800,"height":530,"caption":"Robin Glauser"},"logo":{"@id":"https:\/\/www.robinglauser.ch\/blog\/wp-content\/uploads\/2015\/10\/DSC_1244_small.jpg"},"description":"I'm a web developer.","sameAs":["https:\/\/www.robinglauser.ch","https:\/\/www.instagram.com\/robinglauser\/","https:\/\/x.com\/robinglauser"],"url":"https:\/\/www.robinglauser.ch\/blog\/author\/robin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/comments?post=3375"}],"version-history":[{"count":2,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3375\/revisions"}],"predecessor-version":[{"id":3385,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/posts\/3375\/revisions\/3385"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/media\/3383"}],"wp:attachment":[{"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/media?parent=3375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/categories?post=3375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.robinglauser.ch\/blog\/wp-json\/wp\/v2\/tags?post=3375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}