After reading the article “Create The Smallest Possible Docker Container” by Adriaan de Jonge I was wondering how long I need to install golang (again), write and build the server and get it running in a docker container. It took me ~30 minutes .
An interesting point is this the size of this container:
ollin/helloworldhttp latest fd9ead3df193 16 minutes ago 4.072 MB
It’s only ~4 MB.
The virtual size of a small JRE is ~386 MB (without any server):
seansummers/openjdk-7-jre-headless latest 2cafc2975f19 7 months ago 386.6 MB