Created
August 14, 2021 21:39
-
-
Save egeneralov/94f1efd6f754e862288901344c9f113d to your computer and use it in GitHub Desktop.
This file contains 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
#!/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