Last active
September 24, 2020 13:12
-
-
Save kstkn/cf91bc3d61323fc26339ba96a4de34d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo locale-gen "en_US.UTF-8" \ | |
&& sudo locale-gen "en_US" \ | |
&& sudo update-locale \ | |
&& echo "LC_ALL=en_US.UTF-8" | sudo tee --append /etc/environment \ | |
&& echo "LANG=en_US.UTF-8" | sudo tee --append /etc/environment \ | |
&& export LC_ALL=en_US.UTF-8 | |
sudo apt-get update \ | |
&& sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
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 -y docker-ce | |
sudo systemctl enable docker | |
sudo usermod -aG docker $USER | |
echo 'vm.max_map_count = 262144' | sudo tee --append /etc/sysctl.conf | |
sudo sysctl -w vm.max_map_count=262144 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment