https://gist.github.com/waja/5b73b8846fd631452d5a17f577ae2d90
https://phoenixnap.com/kb/how-to-upgrade-debian-8-jessie-to-debian-9-stretch
-----
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
---
sed -i s/jessie/stretch/g /etc/apt/sources.list*
---
#
# /etc/apt/sources.list
#
#
# stretch
#
deb http://http.debian.net/debian stretch main contrib non-free
deb-src http://http.debian.net/debian stretch main contrib non-free
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian/ stretch-updates main contrib non-free
#
# Security updates
#
deb http://security.debian.org/ stretch/updates main contrib non-free
deb [arch=amd64] https://download.docker.com/linux/debian stretch stable
# deb-src [arch=amd64] https://download.docker.com/linux/debian stretch stable
deb-src http://security.debian.org/ stretch/updates main contrib non-free
---
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
---
aptitude install linux-image-4.9.0-9-amd64
---
domU - cfg file update
----
https://docs.docker.com/install/linux/docker-ce/debian/#prerequisites
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg2 \
software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world
docker run -it ubuntu bash
Когда написано:
[