{"id":642,"date":"2020-11-11T19:55:54","date_gmt":"2020-11-11T19:55:54","guid":{"rendered":"http:\/\/www.ishygddt.xyz\/~blog\/?p=642"},"modified":"2022-03-14T05:20:06","modified_gmt":"2022-03-14T10:20:06","slug":"installing-docker-compose-on-centos-8","status":"publish","type":"post","link":"http:\/\/www.ishygddt.xyz\/~blog\/2020\/11\/installing-docker-compose-on-centos-8","title":{"rendered":"Installing Docker+Compose on CentOS 8"},"content":{"rendered":"<p>How to install Docker + Compose (and also grab Git and Nano while you're in there):<\/p>\n<p>This is mostly a tl;dr of <a href=\"https:\/\/docs.docker.com\/engine\/install\/centos\/\">the instructions<\/a>:<\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul>\n<li><code class=\"\" data-line=\"\">sudo dnf remove docker\\*<\/code><code class=\"\" data-line=\"\"><\/code><\/li>\n<li><code class=\"\" data-line=\"\">sudo dnf config-manager --add-repo https:\/\/download.docker.com\/linux\/$(. \/etc\/os-release;echo $ID)\/docker-ce.repo<\/code><\/li>\n<li><code class=\"\" data-line=\"\">sudo dnf install docker-ce docker-ce-cli git nano<\/code><\/li>\n<li><code class=\"\" data-line=\"\">sudo curl -fL &quot;https:\/\/github.com\/docker\/compose\/releases\/download\/v2.3.3\/docker-compose-$(uname -s)-$(uname -m)&quot; -o \/usr\/local\/bin\/docker-compose &amp;&amp; sudo chmod +x \/usr\/local\/bin\/docker-compose<\/code><\/li>\n<li><code class=\"\" data-line=\"\">sudo systemctl enable --now docker<\/code><\/li>\n<li><code class=\"\" data-line=\"\">sudo usermod $(whoami) -a -G docker<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>How to install Docker + Compose (and also grab Git and Nano while you're in there): This is mostly a tl;dr of the instructions: sudo dnf remove docker\\* sudo dnf config-manager &#8211;add-repo https:\/\/download.docker.com\/linux\/$(. \/etc\/os-release;echo $ID)\/docker-ce.repo sudo dnf install docker-ce docker-ce-cli git nano sudo curl -fL &quot;https:\/\/github.com\/docker\/compose\/releases\/download\/v2.3.3\/docker-compose-$(uname -s)-$(uname -m)&quot; -o \/usr\/local\/bin\/docker-compose &amp;&amp; sudo chmod +x \/usr\/local\/bin\/docker-compose &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[43,46,137],"class_list":["post-642","post","type-post","status-publish","format-standard","hentry","category-drafts","tag-docker","tag-installation","tag-rhel"],"_links":{"self":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/comments?post=642"}],"version-history":[{"count":8,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/642\/revisions"}],"predecessor-version":[{"id":2112,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/posts\/642\/revisions\/2112"}],"wp:attachment":[{"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/media?parent=642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/categories?post=642"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ishygddt.xyz\/~blog\/wp-json\/wp\/v2\/tags?post=642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}