Docker container for OpenBSC in NITB mode

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Alexey Shamrin shamrin at gmail.com
Sun Feb 16 22:46:59 UTC 2014


Hi Alexander,

On Sun, Feb 16, 2014 at 11:00 PM, Alexander Chemeris
<alexander.chemeris at gmail.com> wrote:
> How big is the resulting docker file?

`docker images` reports 467.8 Mb virtual size. But I have spent zero
time optimizing it, because Docker is usually smart about sending only
changed parts when updating the image. No need to transfer basic
Ubuntu image bytes. Still, it could be made much lower. [0] E.g.,
Docker people managed to shrink PostgreSQL image into less than 20 Mb.
[1]

[0]: With one caveat. Starter script currently patches openbsc and
recompiles it before running. So it currently requires full build
environment in the image. The proper solution is to add a config
setting for an external OpenBSC IP address, because Docker put its VMs
behind the NAT by default. Here's starter script:
https://github.com/shamrin/osmonitb-docker/blob/master/start-nitb
[1]: http://www.slideshare.net/jerome42/create-lightweight-docker-containers-with-buildroot

Alexey




More information about the OpenBSC mailing list