-
Notifications
You must be signed in to change notification settings - Fork 93
Install Container Engine
Masaharu Hayashi edited this page Jan 7, 2020
·
24 revisions
- configure virtual memory
echo "vm.max_map_count = 262144"|sudo tee -a /etc/sysctl.confsee https://docs.docker.com/install/linux/docker-ce/ubuntu/
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-commo
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker your-user