Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
1 / 5
0

Why Docker Breaks Inside MicroVMs (Part 1): The Linux Assumptions You Didn’t Know You Were Relying On

DEV Community: serverless·Arnab Chatterjee·about 1 month ago
#jk7JeSdg
#dev#code#auto#docker#highlight#article
Reading 0:00
15s threshold

We tried running Docker inside a microVM. It failed before the first container even started. The error wasn’t helpful: cgroup mountpoint does not exist On a normal EC2 instance, Docker just works. Same binary, same commands. Here, it couldn’t even initialize. This wasn’t a Docker issue. It wasn’t a kernel bug either. It was something more subtle: we were relying on parts of Linux that weren’t there anymore . The part nobody thinks about On a normal Linux system, you don’t start from zero. By the time you SSH into a machine and type docker run , a lot has already happened. You SSH in, run Docker, and it works. If it doesn’t, it’s usually your fault , a wrong command or wrong config. Here, it didn’t feel like our mistake. It felt like something fundamental was missing. So instead of poking Docker, we started looking at the system itself. The error mentioned cgroups. So we checked: ls /sys/fs/cgroup Nothing useful. Then: mount | grep cgroup Nothing. That’s when it clicked, this wasn’t misconfigured.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More