Page MenuHomePhabricator
Paste P43318

install docker on wmcs
ActivePublic

Authored by Dzahn on Tue, Jan 24, 10:09 PM.
Tags
None
Referenced Files
F36487043: install docker on wmcs
Tue, Jan 24, 10:09 PM
Subscribers
None
#!/bin/bash
apt-get remove docker docker.io containerd runc
apt-get update
apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
usermod -aG docker $(whoami)