{"id":5500,"date":"2023-09-11T21:37:46","date_gmt":"2023-09-12T02:37:46","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=5500"},"modified":"2023-09-11T21:37:46","modified_gmt":"2023-09-12T02:37:46","slug":"give-ubuntu-user-access-to-run-docker","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/give-ubuntu-user-access-to-run-docker\/","title":{"rendered":"Give Ubuntu User Access to Run Docker?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">By default on Debian based systems, Docker needs the sudo command to run.  We can add a normal user to the Docker group so we don&#8217;t have to.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo usermod -aG docker username<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Change out the username to your Ubuntu username.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The -a option means append the group to the username.  It does not remove the user from current groups.<br>the -G option means add the specified group.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default on Debian based systems, Docker needs the sudo command to run. We can add a normal user to the Docker group so we don&#8217;t have to. sudo usermod -aG docker username Change out the username to your Ubuntu &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/give-ubuntu-user-access-to-run-docker\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,28],"tags":[246,1032,49,549],"class_list":["post-5500","post","type-post","status-publish","format-standard","hentry","category-linux","category-ubuntu","tag-docker","tag-permissions","tag-ubuntu-2","tag-users"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=5500"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5500\/revisions"}],"predecessor-version":[{"id":5501,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5500\/revisions\/5501"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=5500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=5500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=5500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}