Docker hub contains several versions(tag) of Postgres db such as:
What is diff between postgres version 12.3 and 12.3-alpine?
Alpine Linux is a Linux distribution built around musl libc and BusyBox. The image is only 5 MB in size and has access to a package repository that is much more complete than other BusyBox based images. This makes Alpine Linux a great image base for utilities and even production applications.
Alpine is a much smaller version of Linux, it results in a smaller container than the full postgres image. It is argued that because of its small size, alpine is also more secured. Although one disadvantage of alpine is that it contains a lot less functionality than a docker image running the full Linux OS.
Docker provides you with the low sized (only 5 MB) Alpine Linux Image. The Alpine Linux Docker Image has advantages over the Ubuntu Image because of its relatively lower size and it provides almost all the functionalities that an Ubuntu Image can. In this article, we will see how to build an Alpine Linux Image.
Docker has shot up in popularity over the years. Postgres (a.k.a PostgreSQL) is an open-source, standards-compliant, and object-relational database been developed for more than 30 years now. This official feature matrix shows the wealth of features Postgres has.
Alpine is a much smaller version of Linux, it results in a smaller container than the full postgres image. It is argued that because of its small size, alpine is also more secured. Although one disadvantage of alpine is that it contains a lot less functionality than a docker image running the full Linux OS.
postgres:12.3
is based on Debian : postgres:12.3-alpine
is based on Alpine
Mainly the image sizes and contents differ:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With