Last active
October 22, 2025 07:47
-
-
Save the-moog/5d6b3cdb7eb99a44436171b51fc04102 to your computer and use it in GitHub Desktop.
Cut-n-paste docker (docker-ce) install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Cut and paste into bash shell to install DockerCE in 'one click' | |
| # Also installs joe (wordstar like editor) and tmux (virtual terminals) as I like them but feel free to change that | |
| unset SUDO | |
| ((! ${UID} == 0)) && SUDO=sudo | |
| ${SUDO} apt update && \ | |
| ${SUDO} apt -y dist-upgrade && { | |
| ${SUDO} mkdir -p ~/.config/tmux && \ | |
| ${SUDO} apt install -y nfs-client joe openssh-client openssh-server acl tmux && \ | |
| ${SUDO} apt install -y apt-transport-https ca-certificates curl gnupg2; } && \ | |
| ${SUDO} mkdir -p /etc/apt/trusted.gpg.d && ( | |
| curl -fsSL https://download.docker.com/linux/debian/gpg | ${SUDO} tee /etc/apt/trusted.gpg.d/docker-debian-linux.asc; ) && \ | |
| ( echo "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | ${SUDO} tee /etc/apt/sources.list.d/docker.list; ) && \ | |
| ${SUDO} apt update && ${SUDO} apt install docker-ce -y && \ | |
| ${SUDO} systemctl enable docker && \ | |
| ${SUDO} systemctl start docker |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removed software-properties-common as it's missing from Debian13