Skip to content

Instantly share code, notes, and snippets.

@egeneralov
Created August 14, 2021 21:39
Show Gist options
  • Save egeneralov/94f1efd6f754e862288901344c9f113d to your computer and use it in GitHub Desktop.
Save egeneralov/94f1efd6f754e862288901344c9f113d to your computer and use it in GitHub Desktop.
#!/bin/bash -x
apt-get update -q
apt-get install -yq curl sudo gnupg2
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" > /etc/apt/sources.list.d/docker.list
apt-get update -q
apt-get install -yq containerd{,.io}
ctr image pull docker.io/library/debian:10
ctr run --rm -t --net-host docker.io/library/debian:10 debian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment