- Lubos Rendek
The objective is to install Docker Engine on Debian 9 Stretch Linux.
Privileged access to your Debian 9 Stretch Linux system is required.
- # - requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ - requires given linux commands to be executed as a regular non-privileged user
# apt-get install apt-transport-https dirmngr
Add Docker Repository
Add Docker package depository to your
# echo 'deb https://apt.dockerproject.org/repo debian-stretch main' >> /etc/apt/sources.list
Obtain docker's repository signature and updated package index:
# apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys F76221572C52609D
# apt-get update
# apt-get install docker-engine
https could not be found
E: The method driver /usr/lib/apt/methods/https could not be found.
# apt-get install apt-transport-https
gpg: failed to start the dirmngr
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
# apt-get install dirmngr