diff --git a/README.md b/README.md index b932a30..dc7a75e 100644 --- a/README.md +++ b/README.md @@ -41,4 +41,20 @@ PasswordAuthentication no ChallengeResponseAuthentication no UsePAM no ``` -* `sudo systemctl restart ssh` \ No newline at end of file +* `sudo systemctl restart ssh` + +## Set locale +* https://www.mvoronin.pro/ru/blog/post-40 +* https://stackoverflow.com/questions/55673886/what-is-the-difference-between-c-utf-8-and-en-us-utf-8-locales +* locale-gen en_US.UTF-8 +* edit `/etc/default/locale` +* Put minimal config +``` +LANG=C.UTF-8 +LANGUAGE=en_US +LC_ALL=C.UTF-8 +``` + +## Production docker version +docker -v +Docker version 19.03.5, build 633a0ea838 \ No newline at end of file diff --git a/install-docker.sh b/install-docker.sh index c7df45e..5f643f6 100755 --- a/install-docker.sh +++ b/install-docker.sh @@ -21,7 +21,11 @@ sudo add-apt-repository \ sudo apt-get update -sudo apt-get install -y docker-ce=18.06.3~ce~3-0~ubuntu +# Old production version +#sudo apt-get install -y docker-ce=18.06.3~ce~3-0~ubuntu + +# New production version +sudo apt-get install docker-ce=5:19.03.5~3-0~ubuntu-bionic docker-ce-cli=5:19.03.5~3-0~ubuntu-bionic containerd.io sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose