Skip to main content
The Developer Image includes Docker, Compose, Buildx and the Dev Container CLI. They run inside your existing Computer and use its CPU, memory and disk. A Docker container is not a separate Deepest Machine or a separate Account resource pool. Use Docker for a project’s containerized services or build. Use a Dev Container when the repository defines a reproducible development environment. These are standard tools you control, not additional Deepest orchestration APIs.

Verify the engine

In the Computer, run:
Expect both client and server information from docker version. If only the client responds, diagnose the Guest engine before continuing. On the Developer Image the engine is available through the Guest’s local Docker socket; do not expose a remote unauthenticated Docker daemon. For a small explicit smoke check:
The example downloads a public image if it is not cached. Successful output confirms that this container ran; it does not validate your repository’s build. Image retrieval needs working outbound access and an image supporting the Computer’s architecture.

Run a web container and Preview it

The following creates one named example container. Check that the name is unused before running:
Expect the example web server’s HTTP response. Then open Deepest Private Preview for port 3000. The three port locations are distinct: For an application server inside a bridge-network container, listen on the container interface reachable through Docker’s mapping, normally 0.0.0.0 inside that container. Binding only to the container’s own loopback can make the mapping fail. On the Computer side, the explicit 127.0.0.1:3000 mapping is sufficient for Deepest Preview. That does not mean a service running directly in the Computer must bind to 0.0.0.0. It can use Guest 127.0.0.1 directly. The example tag is illustrative. Existing projects should use their declared images and version/digest policy. Docker’s official port-publishing guide explains the mapping syntax and relevant engine-version caveats.

Use a Compose project

Read the repository’s compose.yaml and instructions first. From its directory:
Review the rendered configuration for ports, volumes, environment references and services before bringing it up. Avoid printing resolved secrets into shared logs. Confirm each service is ready with its own health check or application request. A container listed as running is not necessarily a ready database or API. Map web ports to the Computer and Preview the mapped port. When finished with that project:
This stops the project’s containers without deleting its volumes. docker compose down has different removal effects; options that remove volumes can destroy data. Do not use global prune commands as automatic cleanup.

Enter a repository’s Dev Container

The CLI consumes the existing .devcontainer/devcontainer.json. Review that file and its scripts as code that will run with access to your workspace. From the repository directory inside the Computer:
A successful up reports the container it prepared; exec should show the configured remote workspace and container user. Run the repository’s documented build/test command inside that environment. If the project has no Dev Container configuration, follow its normal setup instructions rather than inventing one silently. The Dev Container CLI is installed. A repository’s features, images, downloads, native dependencies, and architecture must still be compatible with the actual Computer; use the project’s configuration and CLI output to diagnose incompatibilities. See the official Dev Container CLI reference for configuration and commands. For editor integration, VS Code Remote SSH can be used to work on the remote Computer, with Microsoft’s Dev Containers extension as an additional standard-tool layer. That IDE-specific composition has its own compatibility requirements.

Lifecycle, storage and security

Stopping a container does not Stop the Computer or release its allocated running memory from the Account pool. Stopping the Computer terminates all running containers; Docker’s restart policies and your explicit actions determine what starts after the next cold boot. Docker images, build caches and local volumes remain on the Computer’s disk across a normal Stop/Start. Deleting the Computer deletes those local assets. A disk snapshot is not a live-memory checkpoint and does not automatically make a running database application-consistent. Treat access to the Guest Docker socket as powerful access to that Computer. Do not Share it, include Account Agent Keys in container images, or assume container boundaries replace Deepest Account/Machine authorization. Add only the narrowly needed Vault grants and check whether the application’s credential transport is supported. For the specific example, after you have inspected it:
These commands target only the named example container. They leave pulled images and unrelated containers alone. Close any Preview/Share created for it separately.

Troubleshoot

An Agent should inspect existing containers and repository conventions before starting more services. Identify the container/project it owns for cleanup; do not stop another task’s services to make a broad script pass. Related: Account resources, Private Preview, Storage reclaim, and Developer Image.