In deep water with Docker

Learn the first big steps of deploying docker containers.

HOW TO DOCKER

Adam Grunden

1/1/20251 min read

Install a fresh copy of Debian. https://packages.debian.org/search?keywords=gnupg

From the command line, type in sudo -i

  • (Add Docker dependences )

  • apt -y install apt-transport-https ca-certificates curl gnupg2 software-properties-common

  • (Add official docker repository key)

  • curl -fssl https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

  • (Load the Docker APT repository)

  • echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list

  • (Update APT cache)

  • apt update

  • (Install Docker)

  • apt-get install docker-ce docker-ce-cli containerd.io docker-compose

  • (Confirm Docker is working)

  • docker run hello-world

We are now ankle-deep in the waters of tiny digital whales. Come back for a deeper plunge into the deep waters of tiny computers that look like whales, unironically.... kind of