{"id":148,"date":"2020-04-05T15:17:02","date_gmt":"2020-04-05T15:17:02","guid":{"rendered":"http:\/\/metajack.org\/blog\/?p=148"},"modified":"2020-04-07T01:37:51","modified_gmt":"2020-04-07T01:37:51","slug":"install-docker-on-a-clean-centos-8-vps","status":"publish","type":"post","link":"https:\/\/metajack.org\/blog\/2020\/04\/05\/install-docker-on-a-clean-centos-8-vps\/","title":{"rendered":"Install Docker on a clean Centos 8 vps"},"content":{"rendered":"\n<p>Note: none of this actually works &#8211; just notes for now.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dnf install 'dnf-command(config-manager)'\ndnf config-manager --add-repo=https:\/\/download.docker.com\/linux\/centos\/docker-ce.repo\ndnf install --nobest docker-ce\n\n\n# ideally you would install the latest but you'll find missing dependancies\n# find which docker versions are available\ndnf list docker-ce --showduplicates | sort\n\n# copy the name of the latest version\n# will look like\n# docker-ce.x86_64            3:19.03.8-3.el7                     docker-ce-stable\n#\n# removed the architecture portion (.x86_64) and add the version separated by a dash\ndnf install docker-ce-3:19.03.8-3.el7\n\nsystemctl disable firewalld\nsystemctl enable --now docker\n<\/code><\/pre>\n\n\n\n<p>source: <a href=\"https:\/\/linuxconfig.org\/how-to-install-docker-in-rhel-8\">https:\/\/linuxconfig.org\/how-to-install-docker-in-rhel-8<\/a><\/p>\n\n\n\n<p>source : https:\/\/www.techrepublic.com\/article\/how-to-install-docker-ce-on-centos-8\/<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Enable on proxmox :<\/p>\n\n\n\n<p>on host node<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/sys\/module\/kvm_intel\/parameters\/nested   # should show N\necho \"options kvm-intel nested=Y\" > \/etc\/modprobe.d\/kvm-intel.conf\nmodprobe -r kvm_intel\nmodprobe kvm_intel\ncat \/sys\/module\/kvm_intel\/parameters\/nested  # should show Y\n\n# restart container\npct stop &lt;container-id>\npct start &lt;container-id>\n\n# check inside container\negrep '(vmx|svm)' --color=always \/proc\/cpuinfo<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Note: none of this actually works &#8211; just notes for now. source: https:\/\/linuxconfig.org\/how-to-install-docker-in-rhel-8 source : https:\/\/www.techrepublic.com\/article\/how-to-install-docker-ce-on-centos-8\/ Enable on proxmox : on host node<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-sysadmin","entry"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":3,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"predecessor-version":[{"id":151,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/posts\/148\/revisions\/151"}],"wp:attachment":[{"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metajack.org\/blog\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}