Hi Alexander,
On Sun, Feb 16, 2014 at 11:00 PM, Alexander Chemeris
<alexander.chemeris(a)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-wit…
Alexey