-
Notifications
You must be signed in to change notification settings - Fork 795
Description
Description
In the latest versions of Lima our DDEV test runners are ending up with containers that cannot be deleted. (macOS 26.2, ARM64, VZ)
Right now on tb-macos-arm64-7 we have a ddev ssh-agent container that cannot be deleted, and this has happened a number of times lately. The only fix I know of is to completely destroy and recreate the lima instance.
testbot@tb-macos-arm64-7 workspace % docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
497e249b4d59 ddev/ddev-ssh-agent:20251222_stasadev_tzdata_legacy-built "/entry.sh ssh-agent" About an hour ago Created dbcc431b5cef_ddev-ssh-agent
dbcc431b5cef 43a94aa3f90f "/entry.sh ssh-agent" 2 days ago Exited (137) 2 days ago
% docker rm -f $(docker ps -aq)
497e249b4d59
Error response from daemon: No such container: dbcc431b5cef
% docker rm -f $(docker ps -aq)
497e249b4d59
Error response from daemon: No such container: dbcc431b5cef
Here's how we build lima test instances: https://docs.ddev.com/en/stable/developers/buildkite-testmachine-setup/#additional-lima-macos-setup
We've been using that technique for years without trouble; I think this only popped up in v2.0.2 perhaps.
These lima instances have docker engine 29.1.3
The container remains after docker system prune --volumes --force
Inside limactl ssh lima-vz there is nothing in /var/lib/docker/containers
limactl factory-reset lima-vz does solve the problem, as we'd expect. It's easier than what I've done before.