Docker alpine vs debian

Before upgrading my openhab installation, I ‘dockerized’ it so I don’t have to check java version, or any other system upgrades. I have used image: "openhab/openhab:3.4.0"in docker, but now I discovered there is a debian image and an alpine one.

Besides image size, is there any difference in using one or the other?

Some add-ons use native glibc libraries which do not work in the Alpine image because it uses musl instead of glibc. If you use scripts for installing software using apt they will also not work because Alpine uses apk for that. Some shell commands and applications in the Alpine images also have less features compared to those in the Debian images.

Thanks, I will stick to debian image then (just in case…).

1 Like