Newly build lxc debian enable nest in advance option
scripts order below
apt update && apt upgrade
Installing required packages
apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common
add the docker gpg key
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add the docker repository
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
another apt update
apt update
install docker
apt install docker-ce
check that it’s running
systemctl status docker
more packages
apt install cifs-utils docker-compose
check that docker is functioning properly
docker run hello-world
original from https://www.youtube.com/watch?v=faoIeeZZ6ws&ab_channel=H2DC-HowtodoComputers
评论区