Skip to content

Commit 063bee5

Browse files
committed
Move lab launch instructions to above the fold
1 parent 7ee58ed commit 063bee5

5 files changed

Lines changed: 25 additions & 55 deletions

File tree

content/guides/lab-agentic-apps.md

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Get up and running with building agentic applications using Compose, Docker
2626
Model Runner, and the Docker MCP Gateway. This hands-on lab takes you from
2727
understanding AI models to building complete agentic applications.
2828

29+
## Launch the lab
30+
31+
{{< labspace-launch image="dockersamples/labspace-agentic-apps-with-docker" model-download="true" >}}
32+
2933
## What you'll learn
3034

3135
This lab covers three core areas of agentic application development:
@@ -51,27 +55,3 @@ file, and configuring your app to use those models and tools
5155
| 5 | The Docker MCP Gateway | Set up and configure the MCP Gateway |
5256
| 6 | Putting It All Together | Build a complete agentic application |
5357
| 7 | Conclusion | Summary and next steps |
54-
55-
## Prerequisites
56-
57-
- Install the latest version of Docker Desktop
58-
- Enable **Docker Model Runner** by going into Settings in Docker Desktop, choosing AI, then selecting Docker Model Runner
59-
- Pull the Gemma 3 model before launching by running this command:
60-
61-
```console
62-
$ docker model pull ai/gemma3
63-
```
64-
65-
## Launch the lab
66-
67-
Start the labspace:
68-
69-
```console
70-
$ docker compose -f oci://dockersamples/labspace-agentic-apps-with-docker up -d
71-
```
72-
73-
Then open your browser to [http://localhost:3030](http://localhost:3030).
74-
75-
> [!NOTE]
76-
>
77-
> It may take a little while to start due to the AI model download.

content/guides/lab-docker-agent.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ agent concepts, then build sophisticated multi-agent teams that handle complex
2828
real-world tasks. Learn how to create, share, and orchestrate AI agents with
2929
Docker.
3030

31+
## Launch the lab
32+
33+
{{< labspace-launch image="dockersamples/labspace-cagent" >}}
34+
3135
## What you'll learn
3236

3337
- Create simple agents with Docker Agent
@@ -48,18 +52,3 @@ Docker.
4852
| 5 | Sharing Agents | Package and share agents via Docker Registry |
4953
| 6 | Introduction to Sub-agents | Build multi-agent systems with sub-agent orchestration |
5054
| 7 | Conclusion | Summary and next steps |
51-
52-
## Prerequisites
53-
54-
- Latest version of Docker Desktop
55-
- Basic familiarity with Docker
56-
57-
## Launch the lab
58-
59-
Start the labspace:
60-
61-
```console
62-
$ docker compose -f oci://dockersamples/labspace-cagent up -d
63-
```
64-
65-
Then open your browser to [http://localhost:3030](http://localhost:3030).

content/guides/lab-mcp-gateway.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@ params:
2323
---
2424

2525
This lab provides a comprehensive, hands-on overview of the Docker MCP Gateway,
26-
which enables you to run containerized MCP servers safely and securely. Learn
26+
which lets you run containerized MCP servers safely and securely. Learn
2727
how to configure, secure, and connect MCP servers to your agentic applications.
2828

29+
## Launch the lab
30+
31+
{{< labspace-launch image="dockersamples/labspace-mcp-gateway" >}}
32+
2933
## What you'll learn
3034

3135
- Learn about the Docker MCP Gateway and its architecture
@@ -46,18 +50,3 @@ how to configure, secure, and connect MCP servers to your agentic applications.
4650
| 5 | Connecting MCP Gateway to Your App | Integrate the MCP Gateway with agentic frameworks |
4751
| 6 | Using a Custom MCP Server | Build and run your own custom MCP server |
4852
| 7 | Conclusion | Summary and next steps |
49-
50-
## Prerequisites
51-
52-
- The latest version of Docker Desktop with Docker Model Runner enabled
53-
- Basic familiarity with Docker and Docker Compose
54-
55-
## Launch the lab
56-
57-
Start the labspace:
58-
59-
```console
60-
$ docker compose -f oci://dockersamples/labspace-mcp-gateway up -d
61-
```
62-
63-
Then open your browser to [http://localhost:3030](http://localhost:3030).

content/includes/labspace-quickstart.md

Whitespace-only changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{{ $image := .Get "image" }}
2+
{{ $modelDownload := .Get "model-download" | default "false" }}
3+
4+
{{ $step1 := printf "1. Start the labspace:\n\n ```console\n $ docker compose -f oci://%s up -d\n ```" $image }}
5+
6+
{{ if eq $modelDownload "true" }}
7+
{{ $step1 = printf "%s\n\n > [!NOTE]\n >\n > The lab may take a few minutes to launch, as this lab requires an AI model that will need to be downloaded." $step1 }}
8+
{{ end }}
9+
10+
{{ $step2 := "2. Open your browser to [http://localhost:3030](http://localhost:3030)." }}
11+
12+
{{ printf "%s\n\n%s" $step1 $step2 | .Page.RenderString (dict "display" "block") }}

0 commit comments

Comments
 (0)