Preinstall Docker CLI and Docker Compose in dev images (REMOTE-2140)#20
Open
seemeroland wants to merge 2 commits into
Open
Preinstall Docker CLI and Docker Compose in dev images (REMOTE-2140)#20seemeroland wants to merge 2 commits into
seemeroland wants to merge 2 commits into
Conversation
Adds the Docker client tools (docker CLI, Compose v2 plugin, and Buildx) to every published dev image so `docker`, `docker compose`, and the standalone `docker-compose` command are ready to use out of the box. This removes the need for customers to install Docker via setup commands to run Docker Compose–based workflows in Warp hosted sandboxes. - Installed by default via a new INSTALL_DOCKER build arg (defaults to true), overridable with --build-arg INSTALL_DOCKER=false for slimmer images. - Uses pinned static binaries for the docker CLI, compose plugin, and buildx, supporting both linux/amd64 and linux/arm64. - Only client tools are installed; a Docker daemon is provided by the sandbox host at runtime. Co-Authored-By: Oz <oz-agent@warp.dev>
bnavetta
marked this pull request as ready for review
July 15, 2026 14:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Preinstalls the Docker client tools in every
warpdotdev/dev-*image sodocker,docker compose, and the standalonedocker-composecommand are ready to use out of the box in Warp hosted sandboxes.This resolves REMOTE-2140: customers running Docker Compose–based workflows in Warp hosted sandboxes previously had to install Docker/Compose themselves via setup commands (or maintain a custom image). Now the tooling ships in the regular images.
What changed
Dockerfile: New
INSTALL_DOCKERbuild arg (defaults totrue) that installs:dockerCLI (extracted from Docker's static binary bundle)docker composeanddocker-composedocker buildx, used bydocker compose build)Pinned versions,
linux/amd64+linux/arm64support. Build with--build-arg INSTALL_DOCKER=falsefor a slimmer image.README: New "Docker & Docker Compose" section documenting the preinstalled tooling and clarifying that only the client tools are installed — a Docker daemon is provided by the sandbox host at runtime (e.g. Docker-routed sandboxes).
Because the tooling is installed by default and the build workflow does not override
INSTALL_DOCKER, all published images (base, all language variants, and their-agentsvariants) get Docker + Compose.Validation
200for bothx86_64/amd64andaarch64/arm64.tar --strip-components=1 ... docker/dockerextraction places thedockerCLI binary at the expected path.Note: a full multi-arch image build was not run in this environment (no Docker daemon available); CI's
build-imagesworkflow will build and push on merge.Conversation: https://staging.warp.dev/conversation/8648ade1-c0f7-42af-a79e-235096d1d9e5
Run: https://oz.staging.warp.dev/runs/019f5cde-14b4-7648-ac55-bf2a72900a3b
This PR was generated with Oz.