Maybe about a month or so ago, the Docker buildx (docker buildx) and compose (docker compose) commands were working for me, but today I noticed that I was getting some unknown command errors (e.g., docker: unknown command: docker buildx).
Here’s the relevant part of my configuration, which I have not changed at all.
virtualisation.docker = {
enable = true;
rootless = {
enable = false;
setSocketVariable = false;
};
};
Running docker info seems to show that the plugins are being noticed.
Client:
Version: 28.3.2
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.25.0
Path: /nix/store/ypndr8cz6f3v90m5m380nwisrwgwf063-docker-plugins/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: 2.38.1
Path: /nix/store/ypndr8cz6f3v90m5m380nwisrwgwf063-docker-plugins/libexec/docker/cli-plugins/docker-compose
I’m on NixOS unstable branch (25.11.20250728.dc96378 (Xantusia)). Just wanted to know if I perhaps did something on my end, or if it’s something I would need to wait for a fix. I’m not too much of an expert on either NixOS or Docker.