Files
devvm/docs
w3cjandClaude Opus 5.5 0dadfd9c19 fix(guest): a dockerd restart without an init system stops only dockerd
With no init system (smolvm, Docker's containers), a launch that changed
Docker's proxy settings killed whatever process /run/docker.pid named.
/run outlives a stop there, so that could be another process that took
the pid. The restart now kills the pid only when /proc/PID/comm is
dockerd, as services.sh checks, and deletes the pid file and /run/docker
before dockerd starts, as a boot would.

Tests: e2e smolvm, on the Alpine docker-layer VM with network policy
(the base whose /etc/conf.d/docker the restart reads): a stale pid file
naming another process and a left-over run folder, then a launch that
restarts Docker's daemon; the other process lives, the run folder is new
and dockerd runs. It fails on the code before (the other process gone).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 20:53:08 -07:00
..