How to Install and Uninstall docker-ce Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: September 20,2024

1. Install "docker-ce" package

Please follow the guidance below to install docker-ce on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install docker-ce

2. Uninstall "docker-ce" package

Please follow the guidelines below to uninstall docker-ce on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove docker-ce $ sudo apt autoclean && sudo apt autoremove

3. Information about the docker-ce package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: docker-ce
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 98480
Maintainer: Docker
Architecture: amd64
Version: 5:20.10.12~3-0~ubuntu-focal
Replaces: docker-engine
Depends: containerd.io (>= 1.4.1), docker-ce-cli, iptables, libseccomp2 (>= 2.3.0), libc6 (>= 2.8), libdevmapper1.02.1 (>= 2:1.02.97), libsystemd0
Recommends: apparmor, ca-certificates, docker-ce-rootless-extras, git, libltdl7, pigz, procps, xz-utils
Suggests: aufs-tools, cgroupfs-mount | cgroup-lite
Conflicts: docker (<< 1.5~), docker-engine, docker-engine-cs, docker.io, lxc-docker, lxc-docker-virtual-package
Conffiles:
/etc/default/docker 82d6a44e99db1a3b74f7835e4f5e1b01
/etc/init.d/docker e593c2ca26facbf89018d4c708738c97
/etc/init/docker.conf 123f7e2b4078fa11b4eecc4c4f9bdc25
Description: Docker: the open-source application container engine
Docker is a product for you to build, ship and run any application as a
lightweight container
.
Docker containers are both hardware-agnostic and platform-agnostic. This means
they can run anywhere, from your laptop to the largest cloud compute instance and
everything in between - and they don't require you to use a particular
language, framework or packaging system. That makes them great building blocks
for deploying and scaling web apps, databases, and backend services without
depending on a particular stack or provider.
Description-md5: c44506b988c89e9690d4dddd3c768d77
Homepage: https://www.docker.com