Your Docker version is recent, but the **Buildx plugin isn't installed**. That's why it's not recognized as a command. **For Ubuntu/Debian:** ```bash sudo apt-get update sudo apt-get install docker-buildx-plugin ``` **For CentOS/RHEL (common on hosting panels):** ```bash sudo yum install docker-buildx-plugin # or on newer versions: sudo dnf install docker-buildx-plugin ``` **After installation, verify:** ```bash docker buildx version # Should show something like: github.com/docker/buildx v0.14.0 ``` **If Installation Isn't Possible** Quickly disable the Bake warning without Buildx: ```bash # Add to your shell profile echo 'export COMPOSE_DOCKER_CLI_BUILD=0' >> ~/.bashrc source ~/.bashrc # Or run once for current session export COMPOSE_DOCKER_CLI_BUILD=0 ``` Then retry your `docker-compose` command. This tells Docker to use the classic builder instead of BuildKit/Bake. Loading... Your Docker version is recent, but the **Buildx plugin isn't installed**. That's why it's not recognized as a command. **For Ubuntu/Debian:** ```bash sudo apt-get update sudo apt-get install docker-buildx-plugin ``` **For CentOS/RHEL (common on hosting panels):** ```bash sudo yum install docker-buildx-plugin # or on newer versions: sudo dnf install docker-buildx-plugin ``` **After installation, verify:** ```bash docker buildx version # Should show something like: github.com/docker/buildx v0.14.0 ``` **If Installation Isn't Possible** Quickly disable the Bake warning without Buildx: ```bash # Add to your shell profile echo 'export COMPOSE_DOCKER_CLI_BUILD=0' >> ~/.bashrc source ~/.bashrc # Or run once for current session export COMPOSE_DOCKER_CLI_BUILD=0 ``` Then retry your `docker-compose` command. This tells Docker to use the classic builder instead of BuildKit/Bake. 最后修改:2025 年 11 月 18 日 © 允许规范转载 赞 别打赏,我怕忍不住购买辣条与续命水