maddox/magic-cards

Downgrading docker-ce on raspbian stretch on pi zero uninstalls

technicalpickles opened this issue ยท 3 comments

I ended up downgrading to Raspbian Stretch after running into #38 ... and I'm seeing a different set of problems ๐Ÿ˜‚

root@raspberrypi:~#  apt-get install docker-ce=18.06.2~ce~3-0~raspbian
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  containerd.io
Use 'apt autoremove' to remove it.
Recommended packages:
  aufs-tools cgroupfs-mount | cgroup-lite pigz
The following packages will be REMOVED:
  docker-ce-cli
The following packages will be DOWNGRADED:
  docker-ce
0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 82 not upgraded.
1 not fully installed or removed.

The docker service runs, but now there is no docker cli ๐Ÿ™ƒ

apt-cache madison docker-ce-cli doesn't show a matching version. Maybe they deleted a bunch of the versions at some point?

Seeing the same thing here. Currently trying to install via sudo apt-get install docker-ce docker-ce-cli containerd.io, but I assume it will fail since it's installing an upgraded version of docker-ce.

But maybe downgrading after installing the "proper" version will unblock. We'll see!

UPDATE: I was able to get docker working locally on raspberry pi Zero W using the following instructions (but I used the latest 18.06.3 version of docker-ce instead of 18.06.2):

https://abelperezmartinez.blogspot.com/2019/02/how-to-install-docker-on-raspbian-stretch.html

Although I did get an error at the end of running this command:
sudo apt-get install docker-ce=18.06.3~ce~3-0~raspbian containerd.io

I suspect it's because I didn't need to add the "containerd.io" package at the end; I was just following the instructions from docker, but the instructions are a little out-of-date since apparently you no longer need to install docker-ce-cli.

Anyway, give the above instructions a try and see if that works.