{"id":32,"date":"2020-03-25T05:17:00","date_gmt":"2020-03-25T05:17:00","guid":{"rendered":"https:\/\/robertrath.com\/gadgetzone\/archives\/32-dock-cheat-sheets-ubuntu-18-04-fast-docker-installation.html"},"modified":"2020-03-26T10:45:07","modified_gmt":"2020-03-26T10:45:07","slug":"dock-cheat-sheets-ubuntu-18-04-fast-docker-installation","status":"publish","type":"post","link":"https:\/\/robertrath.com\/gadgetzone\/archives\/32-dock-cheat-sheets-ubuntu-18-04-fast-docker-installation.html","title":{"rendered":"Dock Cheat Sheets &#8211; Ubuntu 18.04 Fast Docker Installation"},"content":{"rendered":"Install Docker Engine &#8211; Community<br \/>\n=================================<br \/>\n<br \/>\nref: https:\/\/docs.docker.com\/install\/linux\/docker-ce\/ubuntu\/<br \/>\nref: https:\/\/docs.docker.com\/install\/linux\/linux-postinstall\/           <br \/>\n<br \/>\n$ sudo apt-get update                                                          # update the apt package index:<br \/>\n$ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent    # install packages to allow apt to use a repository over HTTPS:<br \/>\n$ sudo apt-get install software-properties-common                              # install packages to allow apt to use a repository over HTTPS:<br \/>\n$ curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo apt-key add &#8211; # add Docker\u2019s official GPG key:<br \/>\n$ sudo apt-key fingerprint 0EBFCD88                                            # verify that you now have the key with the fingerprint &#8230;<br \/>\n$ sudo add-apt-repository &#8220;deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -cs) stable&#8221; # set up the stable repository<br \/>\n$ sudo apt-get update                                                          # update\/refresh the apt package index:<br \/>\n$ sudo apt-get install docker-ce docker-ce-cli containerd.io                   # install the latest version of Docker Engine<br \/>\n$ sudo docker run hello-world                                                  # verify the Docker Engine installation<br \/>\n$ sudo groupadd docker                                                         # create the docker group if not already present<br \/>\n$ sudo usermod -aG docker $USER                                                # add your user to the docker group   <br \/>\n$ newgrp docker                                                                # activate the changes to groups:<br \/>\n$ docker run hello-world                                                       # verify the Docker Engine installation without sudo<br \/>\n$ sudo systemctl enable docker                                                 # configure Docker to start on boot<br \/>\n","protected":false},"excerpt":{"rendered":"<p>Install Docker Engine &#8211; Community ================================= ref: https:\/\/docs.docker.com\/install\/linux\/docker-ce\/ubuntu\/ ref: https:\/\/docs.docker.com\/install\/linux\/linux-postinstall\/ $ sudo apt-get update # update the apt package index: $ sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent # install packages to allow apt to use a repository over HTTPS: $ sudo apt-get install software-properties-common # install packages to allow apt to use a repository &#8230; <a title=\"Dock Cheat Sheets &#8211; Ubuntu 18.04 Fast Docker Installation\" class=\"read-more\" href=\"https:\/\/robertrath.com\/gadgetzone\/archives\/32-dock-cheat-sheets-ubuntu-18-04-fast-docker-installation.html\" aria-label=\"Read more about Dock Cheat Sheets &#8211; Ubuntu 18.04 Fast Docker Installation\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/comments?post=32"}],"version-history":[{"count":0,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/posts\/32\/revisions"}],"wp:attachment":[{"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/media?parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/categories?post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robertrath.com\/gadgetzone\/wp-json\/wp\/v2\/tags?post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}