{"id":1237,"date":"2020-04-18T04:01:27","date_gmt":"2020-04-18T04:01:27","guid":{"rendered":"\/blog\/?p=1237"},"modified":"2020-04-20T20:39:10","modified_gmt":"2020-04-20T20:39:10","slug":"install-docker-on-centos7-and-elementaryos-loki-and-hena","status":"publish","type":"post","link":"\/blog\/index.php\/install-docker-on-centos7-and-elementaryos-loki-and-hena\/","title":{"rendered":"Install docker on centos7 and ElementaryOS loki and hera"},"content":{"rendered":"<p>From https:\/\/docs.docker.com\/engine\/install\/<\/p>\n<p>For Centos7<\/p>\n<p># yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine<br \/>\n# yum install -y yum-utils<br \/>\n# yum-config-manager &#8211;add-repo https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo<br \/>\n# yum -y install docker-ce docker-ce-cli containerd.io<br \/>\n# systemctl start docker<br \/>\n# systemctl enable docker<\/p>\n<p>For ElementaryOS Hera<\/p>\n<p># apt-get remove docker docker-engine docker.io containerd runc<br \/>\n# apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common<br \/>\n# curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add &#8211;<br \/>\n# add-apt-repository &#8220;deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu bionic stable&#8221;<br \/>\n# apt update<br \/>\n# apt-get install docker-ce docker-ce-cli containerd.io<\/p>\n<p>For ElementaryOS loki<\/p>\n<p># apt-get remove docker docker-engine docker.io containerd runc<br \/>\n# apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common<br \/>\n# curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add &#8211;<br \/>\n# add-apt-repository &#8220;deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu xenial stable&#8221;<br \/>\n# apt update<br \/>\n# apt-get install docker-ce docker-ce-cli containerd.io<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From https:\/\/docs.docker.com\/engine\/install\/ For Centos7 # yum remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-engine # yum install -y yum-utils # yum-config-manager &#8211;add-repo https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo # yum -y install docker-ce docker-ce-cli containerd.io # systemctl start docker # systemctl enable docker For ElementaryOS Hera # apt-get remove docker docker-engine docker.io containerd runc # apt-get install apt-transport-https ca-certificates [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1237","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1237"}],"version-history":[{"count":4,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1237\/revisions"}],"predecessor-version":[{"id":1267,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1237\/revisions\/1267"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1237"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}