{"id":20083,"date":"2024-02-07T11:54:31","date_gmt":"2024-02-07T08:54:31","guid":{"rendered":"https:\/\/kifarunix.com\/?p=20083"},"modified":"2024-05-02T18:43:00","modified_gmt":"2024-05-02T15:43:00","slug":"how-to-install-docker-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-install-docker-on-ubuntu-24-04\/","title":{"rendered":"How to Install Docker on Ubuntu 24.04"},"content":{"rendered":"\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/kifarunix.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/install-docker-on-ubuntu-24-04.png&quot;,&quot;figureClassNames&quot;:&quot;wp-block-image size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-20087&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:1048,&quot;targetHeight&quot;:588,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image: How to Install Docker on Ubuntu 24.04&quot;,&quot;alt&quot;:&quot;How to Install Docker on Ubuntu 24.04&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1048\" height=\"588\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/install-docker-on-ubuntu-24-04.png?v=1707295831\" alt=\"How to Install Docker on Ubuntu 24.04\" class=\"wp-image-20087\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/install-docker-on-ubuntu-24-04.png?v=1707295831 1048w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/install-docker-on-ubuntu-24-04-768x431.png?v=1707295831 768w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image: How to Install Docker on Ubuntu 24.04\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>In this tutorial, we are going to learn how to install Docker on Ubuntu 24.04. <a href=\"https:\/\/docs.docker.com\/get-started\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker<\/a> is a platform that enables developers and system administrators to <strong>build, run, and share<\/strong>&nbsp;applications in <a href=\"https:\/\/www.docker.com\/resources\/what-container\/\" target=\"_blank\" rel=\"noreferrer noopener\">containers<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#installing-docker-on-ubuntu-24-04\">Installing Docker on Ubuntu 24.04<\/a><ul><li><a href=\"#installing-docker-on-ubuntu-24-04-from-docker-repositories\">Installing Docker on Ubuntu 24.04 from Docker Repositories<\/a><ul><li><a href=\"#install-docker-repository-gpg-signing-key\">Install Docker repository GPG signing key.<\/a><\/li><li><a href=\"#install-docker-repository-on-ubuntu-24-04\">Install Docker Repository on Ubuntu 24.04<\/a><\/li><li><a href=\"#update-system-package-cache\">Update System Package Cache<\/a><\/li><li><a href=\"#install-docker-from-docker-repository\">Install Docker from Docker Repository<\/a><\/li><\/ul><\/li><li><a href=\"#installing-docker-using-deb-binary-package\">Installing Docker using DEB Binary Package<\/a><\/li><li><a href=\"#checking-installed-docker-version\">Checking Installed Docker Version<\/a><\/li><li><a href=\"#starting-docker-service\">Starting Docker Service<\/a><\/li><li><a href=\"#running-docker-as-a-non-root-user\">Running Docker as a non-root user<\/a><\/li><li><a href=\"#verifying-docker-installation\">Verifying Docker installation<\/a><\/li><li><a href=\"#reference\">Reference<\/a><\/li><li><a href=\"#other-tutorials\">Other Tutorials<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-docker-on-ubuntu-24-04\">Installing Docker on Ubuntu 24.04<\/h2>\n\n\n\n<p>There exits two editions of docker available. <code>Docker CE<\/code> and <code>Docker EE<\/code>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Docker  (Community Edition) is the open-source, community supported version of Docker and is available for free.<\/li>\n\n\n\n<li>Docker EE (Enterprise Edition) is a commercial\/premium version of Docker and is support by Docker Inc.<\/li>\n<\/ul>\n\n\n\n<p>There are different methods in which you can install Docker;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#docker-repos\">Installing Docker from Docker Repositories<\/a><\/li>\n\n\n\n<li><a href=\"#deb-binary\">Installing Docker manually using the DEB binary package<\/a><\/li>\n\n\n\n<li>Installing Docker using Docker Installation Script (<strong>Beyond the scope of this tutorial<\/strong>).<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"installing-docker-on-ubuntu-24-04-from-docker-repositories\">Installing Docker on Ubuntu 24.04 from Docker Repositories<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-docker-repository-gpg-signing-key\">Install Docker repository GPG signing key.<\/h4>\n\n\n\n<p>To install Docker from Docker, you first need to install some required packages by executing the command below. Some of the package may already be installed though;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>sudo apt install apt-transport-https \\\n\tca-certificates \\\n\tcurl \\\n\tgnupg-agent \\\n\tsoftware-properties-common\n<\/code><\/pre>\n\n\n\n<p>Next, install Docker repository GPG signing key.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -fsSL https:\/\/download.docker.com\/linux\/ubuntu\/gpg | \\\nsudo gpg --dearmor -o \/etc\/apt\/trusted.gpg.d\/docker.gpg<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-docker-repository-on-ubuntu-24-04\">Install Docker Repository on Ubuntu 24.04<\/h4>\n\n\n\n<p>Run the command below to install Docker repository on Ubuntu 24.04.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">echo \"deb [arch=amd64] https:\/\/download.docker.com\/linux\/ubuntu $(lsb_release -sc) stable\" > \/etc\/apt\/sources.list.d\/docker-ce.list<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"update-system-package-cache\">Update System Package Cache<\/h4>\n\n\n\n<p>After that, update package cache.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-docker-from-docker-repository\">Install Docker from Docker Repository<\/h4>\n\n\n\n<p>Install Docker and other tools including <code>containerd.io<\/code>, An open and reliable container runtime.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install docker-ce docker-ce-cli containerd.io<\/pre>\n\n\n\n<p>Note that, even if you install just docker-ce package, other tools like <code>docker-ce-cli<\/code> and <code>containerd.io<\/code> will be installed along with it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install docker-ce<\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>Reading package lists... Done\nBuilding dependency tree... Done\nReading state information... Done\nThe following additional packages will be installed:\n  docker-buildx-plugin docker-ce-rootless-extras docker-compose-plugin git git-man liberror-perl libslirp0 pigz slirp4netns\nSuggested packages:\n  aufs-tools cgroupfs-mount | cgroup-lite git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn\nThe following NEW packages will be installed:\n  containerd.io docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin git git-man liberror-perl libslirp0 pigz\n  slirp4netns\n0 upgraded, 12 newly installed, 0 to remove and 7 not upgraded.\nNeed to get 122 MB of archives.\nAfter this operation, 444 MB of additional disk space will be used.\nDo you want to continue? [Y\/n] y\nGet:1 http:\/\/de.archive.ubuntu.com\/ubuntu noble\/universe amd64 pigz amd64 2.8-1 [65.6 kB]\nGet:2 https:\/\/download.docker.com\/linux\/ubuntu jammy\/stable amd64 containerd.io amd64 1.6.28-1 [29.6 MB]\nGet:3 http:\/\/de.archive.ubuntu.com\/ubuntu noble\/main amd64 liberror-perl all 0.17029-2 [25.6 kB]\nGet:4 http:\/\/de.archive.ubuntu.com\/ubuntu noble\/main amd64 git-man all 1:2.43.0-1ubuntu1 [1,100 kB]\nGet:5 http:\/\/de.archive.ubuntu.com\/ubuntu noble\/main amd64 git amd64 1:2.43.0-1ubuntu1 [3,677 kB]\nGet:6 https:\/\/download.docker.com\/linux\/ubuntu jammy\/stable amd64 docker-buildx-plugin amd64 0.12.1-1~ubuntu.22.04~jammy [28.2 MB]\nGet:7 https:\/\/download.docker.com\/linux\/ubuntu jammy\/stable amd64 docker-ce-cli amd64 5:25.0.3-1~ubuntu.22.04~jammy [13.7 MB]\nGet:8 https:\/\/download.docker.com\/linux\/ubuntu jammy\/stable amd64 docker-ce amd64 5:25.0.3-1~ubuntu.22.04~jammy [24.3 MB]\nGet:9 http:\/\/de.archive.ubuntu.com\/ubuntu noble\/main amd64 libslirp0 amd64 4.7.0-1ubuntu1 [63.2 kB]\nGet:10 http:\/\/de.archive.ubuntu.com\/ubuntu noble\/universe amd64 slirp4netns amd64 1.2.1-1 [34.5 kB]\nGet:11 https:\/\/download.docker.com\/linux\/ubuntu jammy\/stable amd64 docker-ce-rootless-extras amd64 5:25.0.3-1~ubuntu.22.04~jammy [9,313 kB]\nGet:12 https:\/\/download.docker.com\/linux\/ubuntu jammy\/stable amd64 docker-compose-plugin amd64 2.24.5-1~ubuntu.22.04~jammy [12.1 MB]\nFetched 122 MB in 1s (93.0 MB\/s)                      \nSelecting previously unselected package pigz.\n(Reading database ... 156408 files and directories currently installed.)\nPreparing to unpack ...\/00-pigz_2.8-1_amd64.deb ...\nUnpacking pigz (2.8-1) ...\nSelecting previously unselected package containerd.io.\nPreparing to unpack ...\/01-containerd.io_1.6.28-1_amd64.deb ...\nUnpacking containerd.io (1.6.28-1) ...\nSelecting previously unselected package docker-buildx-plugin.\nPreparing to unpack ...\/02-docker-buildx-plugin_0.12.1-1~ubuntu.22.04~jammy_amd64.deb ...\nUnpacking docker-buildx-plugin (0.12.1-1~ubuntu.22.04~jammy) ...\nSelecting previously unselected package docker-ce-cli.\nPreparing to unpack ...\/03-docker-ce-cli_5%3a25.0.3-1~ubuntu.22.04~jammy_amd64.deb ...\nUnpacking docker-ce-cli (5:25.0.3-1~ubuntu.22.04~jammy) ...\nSelecting previously unselected package docker-ce.\nPreparing to unpack ...\/04-docker-ce_5%3a25.0.3-1~ubuntu.22.04~jammy_amd64.deb ...\nUnpacking docker-ce (5:25.0.3-1~ubuntu.22.04~jammy) ...\nSelecting previously unselected package docker-ce-rootless-extras.\nPreparing to unpack ...\/05-docker-ce-rootless-extras_5%3a25.0.3-1~ubuntu.22.04~jammy_amd64.deb ...\nUnpacking docker-ce-rootless-extras (5:25.0.3-1~ubuntu.22.04~jammy) ...\nSelecting previously unselected package docker-compose-plugin.\nPreparing to unpack ...\/06-docker-compose-plugin_2.24.5-1~ubuntu.22.04~jammy_amd64.deb ...\nUnpacking docker-compose-plugin (2.24.5-1~ubuntu.22.04~jammy) ...\nSelecting previously unselected package liberror-perl.\nPreparing to unpack ...\/07-liberror-perl_0.17029-2_all.deb ...\nUnpacking liberror-perl (0.17029-2) ...\nSelecting previously unselected package git-man.\nPreparing to unpack ...\/08-git-man_1%3a2.43.0-1ubuntu1_all.deb ...\nUnpacking git-man (1:2.43.0-1ubuntu1) ...\nSelecting previously unselected package git.\nPreparing to unpack ...\/09-git_1%3a2.43.0-1ubuntu1_amd64.deb ...\nUnpacking git (1:2.43.0-1ubuntu1) ...\nSelecting previously unselected package libslirp0:amd64.\nPreparing to unpack ...\/10-libslirp0_4.7.0-1ubuntu1_amd64.deb ...\nUnpacking libslirp0:amd64 (4.7.0-1ubuntu1) ...\nSelecting previously unselected package slirp4netns.\nPreparing to unpack ...\/11-slirp4netns_1.2.1-1_amd64.deb ...\nUnpacking slirp4netns (1.2.1-1) ...\nSetting up liberror-perl (0.17029-2) ...\nSetting up docker-buildx-plugin (0.12.1-1~ubuntu.22.04~jammy) ...\nSetting up containerd.io (1.6.28-1) ...\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/containerd.service \u2192 \/lib\/systemd\/system\/containerd.service.\nSetting up docker-compose-plugin (2.24.5-1~ubuntu.22.04~jammy) ...\nSetting up docker-ce-cli (5:25.0.3-1~ubuntu.22.04~jammy) ...\nSetting up libslirp0:amd64 (4.7.0-1ubuntu1) ...\nSetting up pigz (2.8-1) ...\nSetting up git-man (1:2.43.0-1ubuntu1) ...\nSetting up docker-ce-rootless-extras (5:25.0.3-1~ubuntu.22.04~jammy) ...\nSetting up slirp4netns (1.2.1-1) ...\nSetting up docker-ce (5:25.0.3-1~ubuntu.22.04~jammy) ...\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/docker.service \u2192 \/lib\/systemd\/system\/docker.service.\nCreated symlink \/etc\/systemd\/system\/sockets.target.wants\/docker.socket \u2192 \/lib\/systemd\/system\/docker.socket.\nSetting up git (1:2.43.0-1ubuntu1) ...\nProcessing triggers for man-db (2.12.0-3) ...\nProcessing triggers for libc-bin (2.38-3ubuntu1) ...\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"installing-docker-using-deb-binary-package\">Installing Docker using DEB Binary Package<\/h3>\n\n\n\n<p>If you want to go the manual way, you can simply download Docker DEB binary package for your specific system version from <a href=\"https:\/\/download.docker.com\/linux\/ubuntu\/dists\/focal\/pool\/stable\/amd64\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/download.docker.com\/linux\/ubuntu\/dists\/<\/a>.<\/p>\n\n\n\n<p>For example, in this case to download the DEB binary packages for Ubuntu 24.04 Noble Numbat, navigate to <a href=\"https:\/\/download.docker.com\/linux\/ubuntu\/dists\/noble\/pool\/stable\/amd64\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/download.docker.com\/linux\/ubuntu\/dists\/noble\/pool\/stable\/amd64\/<\/a> and grab the <strong><code>.deb<\/code><\/strong> files.<\/p>\n\n\n\n<p>To download <code>docker-ce<\/code>, <code>docker-ce-cli<\/code> and <code>containerd.io<\/code>, you would simply pull them as follows;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/download.docker.com\/linux\/ubuntu\/dists\/noble\/pool\/stable\/amd64\/docker-ce_26.1.1-1~ubuntu.24.04~noble_amd64.deb<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/download.docker.com\/linux\/ubuntu\/dists\/noble\/pool\/stable\/amd64\/docker-ce-cli_26.1.1-1~ubuntu.24.04~noble_amd64.deb<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/download.docker.com\/linux\/ubuntu\/dists\/noble\/pool\/stable\/amd64\/containerd.io_1.6.31-1_amd64.deb<\/pre>\n\n\n\n<p>You can then install them using the <code>apt<\/code> or <code>dpkg<\/code> package manager. Be sure to install <code>docker-ce-cli<\/code> and <code>containerd.io<\/code> before <code>docker-ce<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install .\/docker-ce-cli_26.1.1-1~ubuntu.24.04~noble_amd64.deb<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install .\/containerd.io_1.6.31-1_amd64.deb<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install .\/docker-ce_26.1.1-1~ubuntu.24.04~noble_amd64.deb<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"checking-installed-docker-version\">Checking Installed Docker Version<\/h3>\n\n\n\n<p>To check the version of installed Docker, simply run the command;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker --version<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">Docker version 25.0.3, build 4debf41<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"starting-docker-service\">Starting Docker Service<\/h3>\n\n\n\n<p>To start and enable Docker and Containerd service to run on system boot;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl enable --now docker containerd<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"running-docker-as-a-non-root-user\">Running Docker as a non-root user<\/h3>\n\n\n\n<p>If you run Docker as standard system user, you may get such an error;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker run hello-world<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">docker: Got permission denied while trying to connect to the Docker daemon socket at unix:\/\/\/var\/run\/docker.sock: <strong>...<\/strong>\n\/var\/run\/docker.sock: connect: permission denied.\nSee 'docker run --help'.<\/pre>\n\n\n\n<p>Therefore, if you need to run docker as non-root user, simply add the user you want to run docker as to docker group or simply, grant the user sudo rights. For example to add current user to <code>docker<\/code> group;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo usermod -aG docker $USER<\/pre>\n\n\n\n<p><strong>Once you have added the user to the Docker group, log out and login again to have the user group membership re-evaluated.<\/strong><\/p>\n\n\n\n<p>You can then run docker as the standard user.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"verifying-docker-installation\">Verifying Docker installation<\/h3>\n\n\n\n<p>To verify that Docker is running well, you can try running the <code>hello-world<\/code>&nbsp;container image.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker run hello-world<\/pre>\n\n\n\n<p><strong>NOTE:<\/strong> If you still get the same <code><strong>permission denied<\/strong><\/code> error after adding user to docker group, logout and login again and you should be able to run docker as a standard user.<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>Unable to find image 'hello-world:latest' locally\nlatest: Pulling from library\/hello-world\nc1ec31eb5944: Pull complete \nDigest: sha256:4bd78111b6914a99dbc560e6a20eab57ff6655aea4a80c50b0c5491968cbc2e6\nStatus: Downloaded newer image for hello-world:latest\n\nHello from Docker!\nThis message shows that your installation appears to be working correctly.\n\nTo generate this message, Docker took the following steps:\n 1. The Docker client contacted the Docker daemon.\n 2. The Docker daemon pulled the \"hello-world\" image from the Docker Hub.\n    (amd64)\n 3. The Docker daemon created a new container from that image which runs the\n    executable that produces the output you are currently reading.\n 4. The Docker daemon streamed that output to the Docker client, which sent it\n    to your terminal.\n\nTo try something more ambitious, you can run an Ubuntu container with:\n $ docker run -it ubuntu bash\n\nShare images, automate workflows, and more with a free Docker ID:\n https:\/\/hub.docker.com\/\n\nFor more examples and ideas, visit:\n https:\/\/docs.docker.com\/get-started\/\n<\/code><\/pre>\n\n\n\n<p>To list running containers;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">docker ps -a<\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>CONTAINER ID   IMAGE         COMMAND    CREATED              STATUS                          PORTS     NAMES\n738e19789531   hello-world   \"\/hello\"   About a minute ago   Exited (0) About a minute ago             naughty_jones\n<\/code><\/pre>\n\n\n\n<p>Display system-wide Docker information;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker system info<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>Client: Docker Engine - Community\n Version:    25.0.3\n Context:    default\n Debug Mode: false\n Plugins:\n  buildx: Docker Buildx (Docker Inc.)\n    Version:  v0.12.1\n    Path:     \/usr\/libexec\/docker\/cli-plugins\/docker-buildx\n  compose: Docker Compose (Docker Inc.)\n    Version:  v2.24.5\n    Path:     \/usr\/libexec\/docker\/cli-plugins\/docker-compose\n\nServer:\n Containers: 1\n  Running: 0\n  Paused: 0\n  Stopped: 1\n Images: 1\n Server Version: 25.0.3\n Storage Driver: overlay2\n  Backing Filesystem: extfs\n  Supports d_type: true\n  Using metacopy: false\n  Native Overlay Diff: true\n  userxattr: false\n Logging Driver: json-file\n Cgroup Driver: systemd\n Cgroup Version: 2\n Plugins:\n  Volume: local\n  Network: bridge host ipvlan macvlan null overlay\n  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog\n Swarm: inactive\n Runtimes: io.containerd.runc.v2 runc\n Default Runtime: runc\n Init Binary: docker-init\n containerd version: ae07eda36dd25f8a1b98dfbf587313b99c0190bb\n runc version: v1.1.12-0-g51d5e94\n init version: de40ad0\n Security Options:\n  apparmor\n  seccomp\n   Profile: builtin\n  cgroupns\n Kernel Version: 6.6.0-14-generic\n Operating System: Ubuntu Noble Numbat (development branch)\n OSType: linux\n Architecture: x86_64\n CPUs: 2\n Total Memory: 3.827GiB\n Name: noble-numbat\n ID: c705c75f-87dd-4180-8982-93967e9129a8\n Docker Root Dir: \/var\/lib\/docker\n Debug Mode: false\n Experimental: false\n Insecure Registries:\n  127.0.0.0\/8\n Live Restore Enabled: false\n<\/code><\/pre>\n\n\n\n<p>There you go. You have successfully installed Docker on Ubuntu 24.04. You can now explore Docker further.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"reference\">Reference<\/h3>\n\n\n\n<p><a href=\"https:\/\/docs.docker.com\/engine\/install\/ubuntu\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker Engine Installation on Ubuntu<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"other-tutorials\">Other Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/monitor-docker-swarm-node-metrics-using-grafana\/\" target=\"_blank\" rel=\"noreferrer noopener\">Monitor Docker Swarm Node Metrics using Grafana<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/monitor-docker-containers-metrics-using-grafana\/\" target=\"_blank\" rel=\"noreferrer noopener\">Monitor Docker Containers Metrics using Grafana<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to learn how to install Docker on Ubuntu 24.04. Docker is a platform that enables developers and system administrators<\/p>\n","protected":false},"author":10,"featured_media":20087,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[1076,1077,121],"tags":[7391,7389,7390],"class_list":["post-20083","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-containers","category-docker","category-howtos","tag-docker-noble-numbat","tag-install-docker-on-ubuntu-24-04","tag-ubuntu-24-04-docker-install","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/20083"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=20083"}],"version-history":[{"count":9,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/20083\/revisions"}],"predecessor-version":[{"id":22378,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/20083\/revisions\/22378"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/20087"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=20083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=20083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=20083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}