using the official docker repo, not debian/ubuntu packages nor EPEL
    wget https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh
    chmod +x check-config.sh
auto-detect where’s kernel config
./check-config.sh
–or– force against specific kernel config file
ls -lF /boot/*`uname -r`* ./check-config.sh /boot/config-`uname -r`
make sure there’s no distro package
# empty dpkg -l | grep docker #apt purge docker docker-engine docker.io dpkg -l | grep -e 'gpg|gnupg' #apt purge gnupg gpg gpgv apt install gnupg1
prepare the repository
apt update
apt install \
    bridge-utils \
    ca-certificates \
    curl \
    lsb-release
# ifupdown
# nftables
cd /usr/share/keyrings/
# ubuntu asc == debian asc
#curl -fsSL https://download.docker.com/linux/ubuntu/gpg > docker-ce.gpg.asc
# ubuntu asc == debian asc
curl -fsSL https://download.docker.com/linux/debian/gpg > docker-ce.gpg.asc
cat docker-ce.gpg.asc | gpg1 --dearmor -o docker-ce.gpg
# no exist
ls -lF /etc/apt/sources.list.d/docker-ce.list
# ubuntu cat > /etc/apt/sources.list.d/docker-ce.list <<EOF deb [arch=amd64 signed-by=/usr/share/keyrings/docker-ce.gpg] https://download.docker.com/linux/ubuntu `lsb_release -cs` stable EOF # debian cat > /etc/apt/sources.list.d/docker-ce.list <<EOF deb [arch=amd64 signed-by=/usr/share/keyrings/docker-ce.gpg] https://download.docker.com/linux/debian `lsb_release -cs` stable EOF
and proceed with the installation
apt update apt install docker-ce # incl. iptables
    slackpkg search iptables
    slackpkg search git-2
    slackpkg search procps-ng
    slackpkg search xz
    ls -lF /proc/cgroups
grab the latest Docker CE release as binaries
    rel=24.0.7
    wget https://download.docker.com/linux/static/stable/x86_64/docker-$rel.tgz
    tar xzf docker-$rel.tgz
    ls -lF /usr/local/bin/
    cp -i docker/* /usr/local/bin/
note it is also available on github as release tag.
#git clone https://github.com/docker/docker-ce.git
ls -al /etc/yum.repos.d/ rpm -qa | grep -i docker yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum makecache fast yum install -y docker-ce
# debian
update-alternatives --config iptables
update-alternatives --config ip6tables
# ==> legacy
# debian
grep docker /etc/group
# docker:x:997:
# bookworm: docker:x:996:
# slackware
    groupadd -g 331 docker
make the docker commands available to some user
usermod -aG docker OPERATOR
note - as user you might run this command to refresh group attribution on a UNIX system
newgrp docker
see host
and if you also need Compose
git clone https://github.com/docker/compose.git cd compose/ pip install -U -r requirements.txt python setup.py install
dpkg --purge docker-ce apt autoremove --purge
https://download.docker.com/linux/static/stable/x86_64/
https://github.com/docker/docker-ce/tags
https://docs.docker.com/engine/installation/linux/docker-ce/binaries/#prerequisites
https://docs.docker.com/engine/install/
https://docs.docker.com/engine/install/binaries/
https://docs.docker.com/engine/install/ubuntu/
https://docs.docker.com/install/linux/docker-ce/ubuntu/
https://docs.docker.com/engine/installation/linux/docker-ce/centos/#install-using-the-repository
https://docs.docker.com/engine/install/linux-postinstall/