Minimum hardware requirement to run Docker

Hello,

I want to utilize Docker on IoT devices running Linux. What is the minimum hardware (CPU, memory, disk, etc.) requirements to run Docker Engine?

1 Like

I would like to know the same thing, when I run docker run (base arm linux image) -it bash on my raspbian qemu emulator (which can see at most 256mb of ram), the container dies right away, most likely due to memory, although I can’t be sure, docker logs doesn’t say anything, and the docker exit code 139 doesn’t seem documented…

1 Like

IMO absolute minimum to run the daemon and some very light containers - 512MB (haven’t tested this is a while though)
Minimum for “comfortable” usage - 2GB

Unfortunately Go, while not as memory hungry as Java, still loves having a decent chunk to play with.

64 Bit…with 32 Bit it may be also possible, but u will be happier with 64 Bit

I saw a solution at http://resin.io/. They are supporting Docker on very low performance devices like Raspberry Pi 1 Zero (512MB RAM, 1Ghz Single-core CPU) or Beaglebone Black (512MB RAM, 1GHz ARM® Cortex-A8)

https://docs.resin.io/hardware/devices/

How can this be possible?

1 Like

It’s perfectly possible to run Docker with 512MB memory, you just won’t be able to manage a high number of containers, etc.

Thanks for sharing @mstfldmr ! Any similar thing in 2018?

+1 any updates for 2019

+1 any updates for 2019

I would not recommend 512Mb RAM. I have a vm in azure B1ls. My images are ~50Mb with Nginx that serves static pages. It is a challenge!

1 Like

I am playing with podman on Banana Pi Zero M2 and P2 with 512MB RAM without issues, I suppose with docker it will be the same - so no problem, but if for example you will be using Photoview for photo library - it eats up all CPU and seems struggling very hard =) Also when k8s comes in, to create cluster with 1 node is more or less ok, but when 2 nodes it starts to be problem, but anyway depends on load you put in

Could this be an alternative for you guys?

It claims to have a reduced footprint and optimizations for IoT devices. I never used it and can’t say anything about it.

Never mind: doesn’t look like it’s actively maintained anymore. I was wrong: https://github.com/balena-os/balena-engine/blob/master/CHANGELOG.md