Running Docker under LXC Containers in ProxMox for Extra Granularization

Опубликовано: 08 Январь 2022
на канале: H2DC - How to do Computers
33,585
760

$ 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/deb... | 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



---------
Facebook -   / h2dc-how-to-do-computers-108075255013728  
Twitter -   / how2docomputers  
Instagram -   / howtodocomputers   NEW H2DC Discord -   / discord