Installing docker in debian 9
root@family:/home/educacion/src/docker17_puppeteer/frontest# apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common root@family:/home/educacion/src/docker17_puppeteer/frontest# curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - root@family:/home/educacion/src/docker17_puppeteer/frontest# add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" root@family:/home/educacion/src/docker17_puppeteer/frontest# apt update root@family:/home/educacion/src/docker17_puppeteer/frontest# apt-cache policy docker-ce docker-ce: Installed: (none) Candidate: 5:18.09.1~3-0~debian-stretch Version table: 5:18.09.1~3-0~debian-stretch 500 500 https://download.docker.com/linux/debian stretch/stable amd64 Packages root@family:/home/educacion/src/docker17_puppeteer/frontest# apt install docker-ce root@family:/home/educacion/src/docker17_puppeteer/frontest# systemctl status docker ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2019-02-01 17:04:43 -03; 50s ago Docs: https://docs.docker.com root@family:/home/educacion/src/docker17_puppeteer/frontest# usermod -aG docker educacion educacion@family:~/src/docker17_puppeteer$ docker run node
REFERENCE: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-debian-9
No comments:
Post a Comment