Update scripts and docs to support ubunto 20.04
This commit is contained in:
59
README.install-docker
Normal file
59
README.install-docker
Normal file
@ -0,0 +1,59 @@
|
||||
# ----------
|
||||
# Eine aktuelle version von docker installieren
|
||||
# ----------
|
||||
|
||||
|
||||
|
||||
# see also:
|
||||
# https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-20-04-de
|
||||
|
||||
|
||||
# Schritt 1 - Installieren von Docker
|
||||
#
|
||||
apt update
|
||||
|
||||
# einige vorausgesetzte Pakete, damit apt Pakete über HTTPS nutzen kann:
|
||||
#
|
||||
apt install apt-transport-https ca-certificates curl software-properties-common
|
||||
|
||||
# GPG-Schlüssel für das offizielle Docker-Repository hinzufügen:
|
||||
#
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
|
||||
# Docker-Repository zu APT-Quellen hinzufügen:
|
||||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
|
||||
|
||||
|
||||
# Paketdatenbank mit den Docker-Paketen aus dem neu hinzugefügten Repo aktiaöisieren:
|
||||
#
|
||||
apt update
|
||||
|
||||
|
||||
# Note!
|
||||
#
|
||||
# Sicherstellen, dass Docker aus dem Docker Repo und nicht aus dem Standard-Ubuntu-Repo
|
||||
# installiert wird.
|
||||
#
|
||||
# dazu ausführen:
|
||||
#
|
||||
# apt-cache policy docker-ce
|
||||
#
|
||||
# Ausgaber von 'apt-cache policy docker-ce'etwa :
|
||||
#
|
||||
# agr-bbb:~ # apt-cache policy docker-ce
|
||||
# docker-ce:
|
||||
# Installed: (none)
|
||||
# Candidate: 5:27.4.1-1~ubuntu.20.04~focal
|
||||
# Version table:
|
||||
# 5:27.4.1-1~ubuntu.20.04~focal 500
|
||||
# 500 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages
|
||||
# ....
|
||||
#
|
||||
|
||||
|
||||
# Docker installieren:
|
||||
#
|
||||
apt install docker-ce
|
||||
|
||||
|
||||
# !! Docker sollte nun installiert sein und auch nach dem booten automatisch starten. !!
|
Reference in New Issue
Block a user