{"id":10460,"date":"2023-10-28T17:20:07","date_gmt":"2023-10-28T17:20:07","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=10460"},"modified":"2024-05-29T07:07:58","modified_gmt":"2024-05-29T07:07:58","slug":"how-to-install-docker-on-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/","title":{"rendered":"How to Install Docker on Ubuntu 22.04"},"content":{"rendered":"<p><a id=\"post-10460-_heading=h.1fob9te\"><\/a><a href=\"https:\/\/www.docker.com\/\">Docker<\/a> is super easy software for developers to create, share, and run applications across different environments. It operates efficiently on local machines, virtual setups, and even in cloud environments.<\/p>\n<p>Docker allows containers to create and modify files within their own dedicated storage space, which makes applications more flexible and customizable. Automates a variety of tasks with Docker, all for free.<\/p>\n<p>This article will provide you with detailed instructions on how to install Docker on Ubuntu 22.04. Head over to <a href=\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-24-04\/\">this<\/a> article if you are using the latest version of Ubuntu 24.04.<\/p>\n<h2><strong>How to Install Docker on Ubuntu 22.04?<\/strong><\/h2>\n<p>The provided steps can be followed to install Docker on Ubuntu 22.04.<\/p>\n<h3>Step 1: Install Dependencies<\/h3>\n<p>Before initiating the Docker installation, it&#8217;s essential to install the necessary libraries and dependencies:<\/p>\n<table>\n<thead>\n<tr>\n<th>sudo apt install apt-transport-https ca-certificates curl software-properties-common -y<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img fetchpriority=\"high\" decoding=\"async\" width=\"953\" height=\"585\" class=\"wp-image-10461\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-1.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-1.png 953w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-1-300x184.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-1-768x471.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-1-155x95.png 155w\" sizes=\"(max-width: 953px) 100vw, 953px\" \/> <img decoding=\"async\" width=\"954\" height=\"530\" class=\"wp-image-10462\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-2.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-2.png 954w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-2-300x167.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-2-768x427.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-2-155x86.png 155w\" sizes=\"(max-width: 954px) 100vw, 954px\" \/><\/p>\n<p>The required dependencies for the Docker have been installed successfully on your machine.<\/p>\n<h3>Step 2: GPG Key for Docker<\/h3>\n<p>Adding a GPG key is an essential part of installing the docker engine from a trusted source:<\/p>\n<table>\n<thead>\n<tr>\n<th>curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | sudo gpg &#8211;dearmor -o \/usr\/share\/keyrings\/docker-archive-keyring.gpg<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img decoding=\"async\" width=\"955\" height=\"77\" class=\"wp-image-10463\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-3.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-3.png 955w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-3-300x24.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-3-768x62.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-3-155x12.png 155w\" sizes=\"(max-width: 955px) 100vw, 955px\" \/><\/p>\n<h3>Step 3: Add Docker Repository<\/h3>\n<p>After successfully obtaining the GPG key, add the repository for the Docker engine:<\/p>\n<table>\n<thead>\n<tr>\n<th>echo &#8220;deb [arch=amd64 signed-by=\/usr\/share\/keyrings\/docker-archive-keyring.gpg] https:\/\/download.docker.com\/linux\/ubuntu focal stable&#8221; | sudo tee \/etc\/apt\/sources.list.d\/docker.list &gt; \/dev\/null<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"101\" class=\"wp-image-10464\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-4.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-4.png 962w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-4-300x31.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-4-768x81.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-4-960x101.png 960w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-4-155x16.png 155w\" sizes=\"(max-width: 962px) 100vw, 962px\" \/><\/p>\n<p>The blank output represents that the command executed without any errors and the GPG key has been added to the Docker repository.<\/p>\n<h4>Step 4: Update System Repository<\/h4>\n<p>Update your Ubuntu 22.04 system files. This step will ensure that all package files are up to date:<\/p>\n<table>\n<thead>\n<tr>\n<th>sudo apt update<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"485\" class=\"wp-image-10465\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-5.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-5.png 962w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-5-300x151.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-5-768x387.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-5-960x485.png 960w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-5-155x78.png 155w\" sizes=\"(max-width: 962px) 100vw, 962px\" \/><\/p>\n<p>The screenshot indicates that the operating system and installed programs have been updated to the latest versions.<\/p>\n<h2><strong>How to Install Docker via APT Manager? <\/strong><\/h2>\n<p>Here are some important steps to install Docker on your system via the APT package manager.<\/p>\n<h3>Step 1: Install Docker<\/h3>\n<p>Once all the prerequisites have been done successfully, your operating system is ready to install the Docker:<\/p>\n<table>\n<thead>\n<tr>\n<th>sudo apt install docker-ce docker-ce-cli containerd.io -y<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"967\" height=\"584\" class=\"wp-image-10466\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-6.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-6.png 967w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-6-300x181.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-6-768x464.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-6-155x94.png 155w\" sizes=\"(max-width: 967px) 100vw, 967px\" \/> <img loading=\"lazy\" decoding=\"async\" width=\"965\" height=\"533\" class=\"wp-image-10467\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-7.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-7.png 965w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-7-300x166.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-7-768x424.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-7-155x86.png 155w\" sizes=\"(max-width: 965px) 100vw, 965px\" \/><\/p>\n<p>The above command has unpacked and installed the Docker package files on your Ubuntu system.<\/p>\n<h3>Step 2: Confirm Docker Version<\/h3>\n<p>Run the <strong>&#8211;version<\/strong> option to confirm if the docker is installed properly:<\/p>\n<table>\n<thead>\n<tr>\n<th>docker &#8211;version<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"941\" height=\"78\" class=\"wp-image-10468\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-8.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-8.png 941w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-8-300x25.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-8-768x64.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-8-155x13.png 155w\" sizes=\"(max-width: 941px) 100vw, 941px\" \/><\/p>\n<p>The currently installed version of Docker is <strong>24.0.6<\/strong>.<\/p>\n<h3>Step 3: Run Docker<\/h3>\n<p>Run the command to test the Docker:<\/p>\n<table>\n<thead>\n<tr>\n<th>docker run hello-world<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"150\" class=\"wp-image-10469\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-9.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-9.png 964w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-9-300x47.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-9-768x120.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-9-960x150.png 960w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-9-155x24.png 155w\" sizes=\"(max-width: 964px) 100vw, 964px\" \/><\/p>\n<p>Oops! An error is encountered while testing the docker engine. Upcoming steps can be used to fix the error.<\/p>\n<h3>Step 4: Change Ownership<\/h3>\n<p>The <strong>chown <\/strong>is a simple command that can be used to change ownership of the &#8220;<strong>docker.sock<\/strong>&#8221; file:<\/p>\n<table>\n<thead>\n<tr>\n<th>sudo chown $USER:$USER \/var\/run\/docker.sock<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"959\" height=\"54\" class=\"wp-image-10470\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-10.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-10.png 959w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-10-300x17.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-10-768x43.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-10-155x9.png 155w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/p>\n<h3>Step 5: Allow Users<\/h3>\n<p>Permit all users with <strong>chmod 666<\/strong> to both read and write access to Docker:<\/p>\n<table>\n<thead>\n<tr>\n<th>sudo chmod 666 \/var\/run\/docker.sock<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"951\" height=\"51\" class=\"wp-image-10471\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-11.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-11.png 951w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-11-300x16.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-11-768x41.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-11-155x8.png 155w\" sizes=\"(max-width: 951px) 100vw, 951px\" \/><\/p>\n<h3>Step 6: Restart Docker<\/h3>\n<p>Restart the Docker engine once you have run the aforementioned commands:<\/p>\n<table>\n<thead>\n<tr>\n<th>sudo service docker restart<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"56\" class=\"wp-image-10472\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-12.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-12.png 940w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-12-300x18.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-12-768x46.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-12-155x9.png 155w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/p>\n<p>The blank output confirms that the Docker service restarted successfully, without encountering any errors.<\/p>\n<h3>Step 7: Run Docker<\/h3>\n<p>Finally, test the Docker engine in the terminal to see if it returns <strong>hello-world<\/strong> in the output:<\/p>\n<table>\n<thead>\n<tr>\n<th>docker run hello-world<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"448\" class=\"wp-image-10473\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-13.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-13.png 962w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-13-300x140.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-13-768x358.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-13-960x448.png 960w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-13-155x72.png 155w\" sizes=\"(max-width: 962px) 100vw, 962px\" \/> <img loading=\"lazy\" decoding=\"async\" width=\"959\" height=\"262\" class=\"wp-image-10474\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-14.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-14.png 959w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-14-300x82.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-14-768x210.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-14-155x42.png 155w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/p>\n<p>Congratulations! You have installed the Docker engine on your Ubuntu 22.04 version.<\/p>\n<h2><strong>How to Remove Docker from Ubuntu 22.04?<\/strong><\/h2>\n<p>You can uninstall Docker from Ubuntu 22.04 using these simple steps.<\/p>\n<h3>Step 1: Uninstall Docker<\/h3>\n<p>The <strong>purge <\/strong>option removes a package and its configuration files from your operating system, completely:<\/p>\n<table>\n<thead>\n<tr>\n<th>sudo apt purge -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-ce-rootless-extras<\/th>\n<\/tr>\n<\/thead>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"563\" class=\"wp-image-10475\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-15.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-15.png 960w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-15-300x176.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-15-768x450.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-15-155x91.png 155w\" sizes=\"(max-width: 960px) 100vw, 960px\" \/> <img loading=\"lazy\" decoding=\"async\" width=\"958\" height=\"534\" class=\"wp-image-10476\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-16.png\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-16.png 958w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-16-300x167.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-16-768x428.png 768w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/word-image-10460-16-155x86.png 155w\" sizes=\"(max-width: 958px) 100vw, 958px\" \/><\/p>\n<p>No error in the output represents that Docker has been removed successfully from your Ubuntu 22.04 operating system.<\/p>\n<h2>Conclusion<\/h2>\n<p>Install Docker on Ubuntu 22.04 using the terminal. To set up Docker on Ubuntu 22.04, add the GPG key and then install by using the command &#8220;<strong>apt install -y docker-ce docker-ce-cli containerd.io<\/strong>&#8220;. This guide elaborated on the detailed process of setting up the environment and installing and removing Docker from Ubuntu 22.04.<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>Docker is super easy software for developers to create, share, and run applications across different environments. It operates efficiently on local machines, virtual setups, and even in cloud environments. Docker allows containers to create and modify files within their own dedicated storage space, which makes applications more flexible and customizable. Automates a variety of tasks [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":10946,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[227,224],"class_list":["post-10460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-docker","tag-ubuntu-22-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install Docker on Ubuntu 22.04 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This article will provide you with detailed instructions on how to install Docker on Ubuntu 22.04.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Docker on Ubuntu 22.04 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This article will provide you with detailed instructions on how to install Docker on Ubuntu 22.04.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-28T17:20:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-29T07:07:58+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install Docker on Ubuntu 22.04\",\"datePublished\":\"2023-10-28T17:20:07+00:00\",\"dateModified\":\"2024-05-29T07:07:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/\"},\"wordCount\":654,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg\",\"keywords\":[\"Docker\",\"Ubuntu 22.04\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/\",\"name\":\"How to Install Docker on Ubuntu 22.04 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg\",\"datePublished\":\"2023-10-28T17:20:07+00:00\",\"dateModified\":\"2024-05-29T07:07:58+00:00\",\"description\":\"This article will provide you with detailed instructions on how to install Docker on Ubuntu 22.04.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg\",\"width\":1020,\"height\":600,\"caption\":\"How to Install Docker on Ubuntu 22.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Docker on Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Docker on Ubuntu 22.04 - Greenwebpage Community","description":"This article will provide you with detailed instructions on how to install Docker on Ubuntu 22.04.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Docker on Ubuntu 22.04 - Greenwebpage Community","og_description":"This article will provide you with detailed instructions on how to install Docker on Ubuntu 22.04.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/","og_site_name":"Greenwebpage Community","article_published_time":"2023-10-28T17:20:07+00:00","article_modified_time":"2024-05-29T07:07:58+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install Docker on Ubuntu 22.04","datePublished":"2023-10-28T17:20:07+00:00","dateModified":"2024-05-29T07:07:58+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/"},"wordCount":654,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg","keywords":["Docker","Ubuntu 22.04"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/","name":"How to Install Docker on Ubuntu 22.04 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg","datePublished":"2023-10-28T17:20:07+00:00","dateModified":"2024-05-29T07:07:58+00:00","description":"This article will provide you with detailed instructions on how to install Docker on Ubuntu 22.04.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/How-to-Install-Docker-on-Ubuntu-22.04-1.jpg","width":1020,"height":600,"caption":"How to Install Docker on Ubuntu 22.04"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-docker-on-ubuntu-22-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install Docker on Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=10460"}],"version-history":[{"count":3,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10460\/revisions"}],"predecessor-version":[{"id":11534,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/10460\/revisions\/11534"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/10946"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=10460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=10460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=10460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}