Skip to content

Commit ab52524

Browse files
cloud: add initial docs
Signed-off-by: Craig <[email protected]>
1 parent a30fb9e commit ab52524

30 files changed

+1661
-71
lines changed

_vale/config/vocabularies/Docker/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Grafana
6868
Gravatar
6969
gRPC
7070
HyperKit
71+
inferencing
7172
inotify
7273
Intel
7374
Intune

content/manuals/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ params:
5353
description: Secure, minimal base images for trusted software delivery.
5454
icon: /icons/dhi.svg
5555
link: /dhi/
56+
- title: Docker Offload
57+
description: Build and run containers in the cloud.
58+
icon: cloud
59+
link: /offload/
5660
- title: Build Cloud
5761
description: Build your images faster in the cloud.
5862
icon: /icons/logo-build-cloud.svg
-457 Bytes
Binary file not shown.

content/manuals/desktop/setup/vm-vdi.md

Lines changed: 15 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -16,82 +16,31 @@ depending on whether nested virtualization is supported:
1616

1717
- If your environment supports nested virtualization, you can run Docker Desktop
1818
with its default local Linux VM.
19-
- If nested virtualization is not supported, Docker recommends using Docker
20-
Cloud. To join the beta, contact Docker at `[email protected]`.
19+
- If nested virtualization is not supported, Docker recommends using [Docker
20+
Offload](/offload/).
2121

22-
## Use Docker Cloud
22+
## Use Docker Offload
2323

24-
{{< summary-bar feature_name="Docker Cloud" >}}
25-
26-
Docker Cloud lets you offload container workloads to a high-performance,
27-
fully hosted cloud environment, enabling a seamless hybrid experience. It
28-
includes an insights dashboard that offers performance metrics and environment
29-
management to help optimize your development workflow.
24+
Docker Offload lets you offload container workloads to a high-performance, fully
25+
hosted cloud environment, enabling a seamless hybrid experience. It includes an
26+
insights dashboard that offers performance metrics and environment management to
27+
help optimize your development workflow.
3028

3129
This mode is useful in virtual desktop environments where nested virtualization
32-
isn't supported. In these environments, Docker Desktop defaults to using
33-
cloud mode to ensure you can still build and run containers without relying on
34-
local virtualization.
30+
isn't supported. In these environments, Docker Desktop defaults to using cloud
31+
mode to ensure you can still build and run containers without relying on local
32+
virtualization.
3533

36-
Docker Cloud decouples the Docker Desktop client from the Docker Engine,
34+
Docker Offload decouples the Docker Desktop client from the Docker Engine,
3735
allowing the Docker CLI and Docker Desktop Dashboard to interact with
3836
cloud-based resources as if they were local. When you run a container, Docker
3937
provisions a secure, isolated, and ephemeral cloud environment connected to
4038
Docker Desktop via an SSH tunnel. Despite running remotely, features like bind
4139
mounts and port forwarding continue to work seamlessly, providing a local-like
42-
experience. To use Docker Cloud:
43-
44-
1. Contact Docker at `[email protected]` to activate the feature for your
45-
account.
46-
2. [Install Docker Desktop](/manuals/desktop/setup/install/windows-install.md#install-docker-desktop-on-windows)
47-
version 4.42 or later on your Windows virtual desktop.
48-
3. [Start Docker Desktop](/manuals/desktop/setup/install/windows-install.md#start-docker-desktop).
49-
4. Sign in to Docker Desktop.
50-
51-
After you sign in, Docker Cloud is enabled by default and cannot be
52-
disabled. When enabled, Docker Desktop's Dashboard header appears purple and the
53-
cloud-mode toggle is a cloud icon ({{< inline-image
54-
src="./images/cloud-mode.png" alt="Cloud mode icon" >}}).
55-
56-
In this mode, Docker Desktop mirrors your cloud environment, providing
57-
a seamless view of your containers and resources running on Docker Cloud. You
58-
can verify that Docker Cloud is working by running a simple container. In a
59-
terminal on your virtual desktop, run the following command:
60-
61-
```console
62-
$ docker run hello-world
63-
```
64-
65-
In the terminal, you will see `Hello from Docker!` if everything is working
66-
correctly.
67-
68-
### View insights and manage Docker Cloud
69-
70-
For insights and management, use the [Docker Cloud
71-
Dashboard](https://app.docker.com/cloud). It provides visibility into your
72-
builds, runs, and cloud resource usage. Key features include:
73-
74-
- Overview: Monitor cloud usage, build cache, and top repositories built.
75-
- Build history: Review past builds with filtering and sorting options.
76-
- Run history: Track container runs and sort by various options.
77-
- Integrations: Learn how to set up cloud builders and runners for your CI
78-
pipeline.
79-
- Settings: Manage cloud builders, usage, and account settings.
80-
81-
Access the Docker Cloud Dashboard at https://app.docker.com/cloud.
82-
83-
### Limitations
84-
85-
The following limitations apply when using Docker Cloud:
86-
87-
- Persistence: Containers are launched in a cloud engine that remains available
88-
as long as you interact with and consume the containers' output. After closing
89-
Docker Desktop, or about 30 minutes of inactivity, the engine is shut down and
90-
becomes inaccessible, along with any data stored in it, including images,
91-
containers, and volumes. A new engine is provisioned for any new workloads.
92-
- Usage and billing: During beta, no charges are incurred for using Docker Cloud
93-
resources. Docker enforces a usage cap and reserves the right to disable
94-
Docker Cloud access at any time.
40+
experience. To use Docker Offload:
41+
42+
To get started using Docker Offload, see [Docker Offload
43+
quickstart](/offload/quickstart/).
9544

9645
## Virtual desktop support when using nested virtualization
9746

content/manuals/offload/_index.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: Docker Offload
3+
weight: 15
4+
description: Find documentation on Docker Offload to help you build and run your container images faster, both locally and in CI
5+
keywords: build, cloud, cloud build, remote builder
6+
params:
7+
sidebar:
8+
group: Products
9+
badge:
10+
color: blue
11+
text: Beta
12+
13+
grid:
14+
15+
- title: Quickstart
16+
description: Get up and running with Docker Offload in just a few steps.
17+
icon: rocket_launch
18+
link: /offload/quickstart/
19+
20+
- title: About
21+
description: Learn about Docker Offload and how it works.
22+
icon: info
23+
link: /offload/about/
24+
25+
- title: Configure
26+
description: Set up and customize your cloud build environments.
27+
icon: tune
28+
link: /offload/configuration/
29+
30+
- title: Build
31+
description: Use Docker Offload to build container images from the CLI or Docker Desktop.
32+
icon: build
33+
link: /offload/build/
34+
35+
- title: Build in CI
36+
description: Use Docker Offload to build container images in continuous integration workflows.
37+
icon: build
38+
link: /offload/ci-build/
39+
40+
- title: Usage
41+
description: Learn about Docker Offload usage and how to monitor your cloud resources.
42+
icon: monitor_heart
43+
link: /offload/usage/
44+
45+
- title: Optimize
46+
description: Improve performance, caching, and cost efficiency in Docker Offload.
47+
icon: speed
48+
link: /offload/optimize/
49+
50+
- title: Troubleshoot
51+
description: Learn how to troubleshoot issues with Docker Offload.
52+
icon: bug_report
53+
link: /offload/troubleshoot/
54+
55+
---
56+
57+
{{< summary-bar feature_name="Docker Offload" >}}
58+
59+
Docker Offload is a fully managed service that lets you build and run containers
60+
in the cloud using the Docker tools you already know. Whether you're working
61+
locally on Docker Desktop or in CI, Docker Offload provides scalable
62+
infrastructure for fast, consistent builds and compute-intensive workloads like
63+
running LLMs or machine learning pipelines.
64+
65+
You can use Docker Offload to offload builds and container runs from
66+
Docker Desktop, or use it for builds only without running containers in the
67+
cloud.
68+
69+
In the following topics, learn about Docker Offload, how to set it up, use it for your workflows, and
70+
troubleshoot common issues.
71+
72+
{{< grid >}}

content/manuals/offload/about.md

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
---
2+
title: About Docker Offload
3+
linktitle: About
4+
weight: 15
5+
description: Learn about Docker Offload, its features, and how it works.
6+
keywords: cloud, build, remote builder
7+
---
8+
9+
Docker Offload is a fully managed service for building and running containers in
10+
the cloud using the Docker tools you already know, including Docker Desktop, the
11+
Docker CLI, and Docker Compose. It extends your local development workflow into a
12+
scalable, cloud-powered environment, so you can offload compute-heavy tasks,
13+
accelerate builds, and securely manage container workloads across the software
14+
lifecycle.
15+
16+
Docker Offload also supports GPU-accelerated instances, allowing you to
17+
containerize and run compute-intensive workloads such as Docker Model Runner and
18+
other machine learning or data processing tasks that benefit from GPU.
19+
20+
You can use Docker Offload in following ways:
21+
22+
- In Offload mode, where you use Docker Desktop with cloud-based resources. This
23+
is ideal for virtual desktop environments (VDIs) where nested virtualization
24+
isn't supported, or when you need more CPU, memory, or GPU than your local
25+
machine can provide. In this mode, both builds and container runs happen in
26+
the cloud, but Docker Desktop maintains a local-like experience. To get
27+
started, see [Docker Offload quickstart](/offload/quickstart/).
28+
29+
- For only builds, without running containers in the cloud. This lets you offload image
30+
builds to Docker Offload while continuing to run containers locally. It's useful
31+
when you want faster, consistent builds but don't need to run containers in
32+
the cloud. To get started, see [Build with Docker Offload](/offload/build/).
33+
34+
- In CI environments where builds are performed entirely in the cloud. This lets
35+
you have fast, consistent, and scalable builds without the need to manage your
36+
own runners or infrastructure. To get started, see [Use Docker Offload in
37+
CI](/offload/ci-build/).
38+
39+
## Key features
40+
41+
Docker Offload includes the following capabilities to support modern container
42+
workflows:
43+
44+
- Cloud-based builds: Execute builds on remote, fully managed BuildKit instances
45+
with native support for multi-platform output.
46+
- GPU acceleration: Use NVIDIA L4 GPU-backed environments for machine learning,
47+
media processing, and other compute-intensive workloads.
48+
- Ephemeral cloud runners: Automatically provision and tear down cloud
49+
environments for each container session.
50+
- Shared build cache: Speed up build times across machines and teammates with a
51+
smart, shared cache layer.
52+
- Hybrid workflows: Seamlessly transition between local and remote execution
53+
using Docker Desktop, CLI, or CI tools.
54+
- Secure communication: Use encrypted tunnels between Docker Desktop and cloud
55+
environments with support for secure secrets and image pulling.
56+
- CI integration: Trigger builds in CI pipelines using Buildx, GitHub
57+
Actions, or prebuilt integrations.
58+
- Port forwarding and bind mounts: Retain a local development experience even
59+
when running containers in the cloud.
60+
- VDI-friendly: Use Docker Offload in virtual desktop environments or systems that
61+
don't support nested virtualization.
62+
63+
## Why use Docker Offload?
64+
65+
Docker Offload is designed to support modern development teams working across
66+
local and cloud environments. It helps you:
67+
68+
- Offload heavy builds and runs to fast, scalable infrastructure
69+
- Accelerate feedback loops in development and testing
70+
- Run containers that require more resources than your local setup can provide
71+
- Build and run AI apps with instant access to GPU-powered environments
72+
- Use Docker Compose to manage complex, multi-service cloud apps
73+
- Maintain consistent environments without managing custom infrastructure
74+
- Integrate easily into any CI system using scripts or prebuilt actions
75+
- Develop efficiently in restricted or low-powered environments like VDIs
76+
77+
Docker Offload is ideal for high-velocity development workflows
78+
that need the flexibility of the cloud without sacrificing the simplicity of
79+
local tools.
80+
81+
## How Docker Offload works
82+
83+
Docker Offload replaces the need to build or run containers locally by connecting
84+
Docker Desktop and your CI pipelines to secure, dedicated cloud resources.
85+
86+
### Building with Docker Offload
87+
88+
When you use Docker Offload for builds, the `docker buildx build` command sends
89+
the build request to a remote BuildKit instance in the cloud, instead of
90+
executing it locally. Your workflow stays the same, only the execution
91+
environment changes.
92+
93+
The build runs on infrastructure provisioned and managed by Docker:
94+
95+
- Each cloud builder is an isolated Amazon EC2 instance with its own EBS volume
96+
- Remote builders use a shared cache to speed up builds across machines and
97+
teammates
98+
- Builds support native multi-platform output (for example, `linux/amd64`,
99+
`linux/arm64`)
100+
- Build results are encrypted in transit and sent to your specified destination
101+
(such as a registry or local image store)
102+
103+
Docker Offload manages the lifecycle of builders automatically. There's no need to
104+
provision or maintain infrastructure.
105+
106+
> [!NOTE]
107+
>
108+
> Docker Offload builders are currently hosted in the United States East region. Users in
109+
> other regions may experience increased latency.
110+
111+
### Running containers with Docker Offload
112+
113+
When you use Docker Offload to run containers, a Docker Desktop creates a secure
114+
SSH tunnel to a Docker daemon running in the cloud. Your containers are started
115+
and managed entirely in that remote environment.
116+
117+
Here's what happens:
118+
119+
1. Docker Desktop connects to the cloud and triggers container creation.
120+
2. Docker Offload pulls the required images and starts containers in the cloud.
121+
3. The connection stays open while the containers run.
122+
4. When the containers stop running, the environment shuts down and is cleaned
123+
up automatically.
124+
125+
This setup avoids the overhead of running containers locally and enables fast,
126+
reliable containers even on low-powered machines, including machines that do not
127+
support nested virtualization. This makes Docker Offload ideal for developers
128+
using environments such as virtual desktops, cloud-hosted development machines,
129+
or older hardware.
130+
131+
Docker Offload also supports GPU-accelerated workloads. Containers that require
132+
GPU access can run on cloud instances provisioned with NVIDIA L4 GPUs for
133+
efficient AI inferencing, media processing, and general-purpose GPU
134+
acceleration. This enables compute-heavy workflows such as model evaluation,
135+
image processing, and hardware-accelerated CI tests to run seamlessly in the
136+
cloud.
137+
138+
Despite running remotely, features like bind mounts and port forwarding continue
139+
to work seamlessly, providing a local-like experience from within Docker Desktop
140+
and the CLI.
141+
142+
Docker Offload provisions an ephemeral cloud environment for each session. The
143+
environment remains active while you are interacting with Docker Desktop or
144+
actively using containers. If no activity is detected for about 30 minutes, the
145+
session shuts down automatically. This includes any containers, images, or
146+
volumes in that environment, which are deleted when the session ends.
147+
148+
## What's next
149+
150+
Get hands-on with Docker Offload by following the [Docker Offload quickstart](/offload/quickstart/).

0 commit comments

Comments
 (0)