A new docker base image for ARM

https://github.com/umiddelb/armhf/wiki/Installing,-running,-using-docker-on-armhf-%28ARMv7%29-devices describes in some detail the build of a docker-optimised Ubuntu for ARM (e.g., r-pi) but it’s broadly similar to the hypriot (Debian) image I have been using which uses overlay rather than aufs.

docker run armv7/armhf-ubuntu_core /bin/echo ‘Hello world’

Anyway, this is the basis for prepping separate mysql and phusion (apache) containers for a Rails application.

Advertisements

2 thoughts on “A new docker base image for ARM

  1. Uli Middelberg

    Hm, to be honest, armv7/armhf-ubuntu_core isn’t the best starting point if you want to port other ubuntu based Docker images to ARM. You cannot expect that everything runs fine without further modification just replacing ‘FROM ubuntu’ by ‘FROM armv7/armhf-ubuntu_core’. That’s the reason why I’ve ported ubuntu (library) to ARM called armv7/armhf-ubuntu (based on armv7/armhf-ubuntu_core).

    Reply
    1. julianrawcliffe Post author

      Uli

      Thanks very much for the advice. I will update my Dockerfiles to use that image. What I found more alarming was how the size of the image swelled significantly when adding something like Ruby to the build and the work required to clean up after doing source builds.
      I am still trying to identify the best tradeoff between image size and time taken to install application code.
      Julian

      Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s