Docker Community Forums

Share and learn in the Docker community.

Alpine won't upgrade on Raspberry PI 3B+ from 3.6.1. to 3.14

Hello…

I’m trying to upgrade my docker container (on Raspberry Pi 3B_) which is running on Alpine 3.6.1 to 3.14.
Below is exactly what I’m doing and the results.
Any ideas?

Many thanks…

$ docker exec -it mycontainer /bin/bash

bash-5.1# cat /etc/apk/repositories
http://dl-cdn.alpinelinux.org/alpine/v3.14/main
http://dl-cdn.alpinelinux.org/alpine/v3.14/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing/

bash-5.1# cat /etc/alpine-release
3.6.1

bash-5.1# apk update
fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/main/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/community/armhf/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/testing/armhf/APKINDEX.tar.gz
v3.14.0-35-g61662e7eee [http://dl-cdn.alpinelinux.org/alpine/v3.14/main]
v3.14.0-43-gbeaf626f3c [http://dl-cdn.alpinelinux.org/alpine/v3.14/community]
v3.14.0-612-g1ebbc493c4 [http://dl-cdn.alpinelinux.org/alpine/edge/testing/]
OK: 16606 distinct packages available

bash-5.1# apk upgrade
OK: 14 MiB in 37 packages

bash-5.1# cat /etc/alpine-release
3.6.1

bash-5.1# reboot

$ docker exec -it mycontainer /bin/bash

bash-5.1# cat /etc/alpine-release
3.6.1

Let me give you some more info.

I’ve tried getting APK logs for this, I can’t seem to find any.

I pulled down this distribution from here:

Info here:
https://hub.docker.com/r/mjenz/rpi-openvpn/

I notice alpine is quite old on this container hence I’m trying to update.

Thanks…