hmm: Minimale Docker installation zum testen

Beitrag lesen

wenn ich zb das hier mache:

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-16-04

bekomme ich nach dem befehl "apt-cache policy docker-ce", das hier:

docker-ce:
  Installed: 18.04.0~ce~3-0~ubuntu
  Candidate: 18.04.0~ce~3-0~ubuntu
  Version table:
 *** 18.04.0~ce~3-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
        100 /var/lib/dpkg/status
     18.03.1~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     18.03.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     18.02.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     18.01.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.12.1~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.12.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.11.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.10.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.09.1~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.09.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.07.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.06.2~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.06.1~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.06.0~ce-0~ubuntu 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.05.0~ce-0~ubuntu-trusty 0
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.04.0~ce-0~ubuntu-trusty 0
        500 https://download.docker.com/linux/ubuntu/ trusty/edge amd64 Packages
     17.03.2~ce-0~ubuntu-trusty 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
     17.03.1~ce-0~ubuntu-trusty 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages
     17.03.0~ce-0~ubuntu-trusty 0
        500 https://download.docker.com/linux/ubuntu/ trusty/stable amd64 Packages

wenn ich dann "sudo apt-get install -y docker-ce" eingebe, folgt die fehlermeldung:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
docker-ce is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 203 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up docker-ce (18.04.0~ce~3-0~ubuntu) ...
mount: permission denied
rmdir: failed to remove ‘cpu’: Read-only file system
mount: permission denied
rmdir: failed to remove ‘cpuacct’: Read-only file system
mount: permission denied
rmdir: failed to remove ‘net_cls’: Read-only file system
mount: permission denied
rmdir: failed to remove ‘net_prio’: Read-only file system
/etc/init.d/docker: 103: ulimit: error setting limit (Operation not permitted)
invoke-rc.d: initscript docker, action "start" failed.
dpkg: error processing package docker-ce (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 docker-ce
E: Sub-process /usr/bin/dpkg returned an error code (1)

was muss ich machen, damit das funktioniert?