{"id":171,"date":"2025-02-17T20:39:13","date_gmt":"2025-02-17T18:39:13","guid":{"rendered":"https:\/\/blog.douwedevri.es\/?p=171"},"modified":"2025-10-17T11:22:28","modified_gmt":"2025-10-17T09:22:28","slug":"docker","status":"publish","type":"post","link":"https:\/\/blog.dbdv.nl\/?p=171","title":{"rendered":"Docker"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Download the installer script from docker.com. <a href=\"https:\/\/docs.docker.com\/engine\/install\/ubuntu\/#install-using-the-convenience-script\">https:\/\/docs.docker.com\/engine\/install\/ubuntu\/#install-using-the-convenience-script<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash line-numbers\">curl -fsSL https:\/\/get.docker.com -o get-docker.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then run it using root privileges.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash line-numbers\">sudo sh get-docker.sh<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Add yourself to the docker group<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Add yourself to the docker group when you get an error like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"\" class=\" line-numbers\">permission denied while trying to connect to the Docker daemon socket at unix:\/\/\/var\/run\/docker.sock: Get \"http:\/\/%2Fvar%2Frun%2Fdocker.sock\/v1.47\/containers\/json\": dial unix \/var\/run\/docker.sock: connect: permission denied<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash line-numbers\">sudo usermod -aG docker $USER<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download the installer script from docker.com. https:\/\/docs.docker.com\/engine\/install\/ubuntu\/#install-using-the-convenience-script Then run it using root privileges. Add yourself to the docker group Add yourself to the docker group when you get an error like this:<\/p>\n","protected":false},"author":1,"featured_media":322,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[7],"class_list":["post-171","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-docker"],"_links":{"self":[{"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=171"}],"version-history":[{"count":6,"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions\/204"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=\/wp\/v2\/media\/322"}],"wp:attachment":[{"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dbdv.nl\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}