Skip to content

Commit 8c61028

Browse files
Enhance documentation for Docker MCP Toolkit: clarify migration steps, improve structure, and summarize accomplishments across multiple sections.
1 parent 59b453b commit 8c61028

6 files changed

Lines changed: 58 additions & 40 deletions

File tree

content/learning-paths/servers-and-cloud-computing/docker-mcp-toolkit/1-overview.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ These steps are well understood, but they can require careful review across code
3838

3939
The Docker MCP Toolkit is a management interface in Docker Desktop that lets you discover, configure, and run containerized MCP (Model Context Protocol) servers. It connects these servers to AI coding assistants through a unified gateway.
4040

41-
For Arm migration, three MCP servers work together:
41+
Each MCP server provides specialized capabilities that work together to support the migration workflow. For Arm migration, three MCP servers work together:
4242

4343
- **Arm MCP Server**:
4444
Provides migration-focused tools, including:
@@ -55,12 +55,12 @@ For Arm migration, three MCP servers work together:
5555

5656
When connected to the Docker MCP Toolkit, an AI coding assistant like GitHub Copilot can coordinate a structured migration workflow:
5757

58-
1. Verify whether container base images support `linux/arm64` using `check_image` or `skopeo`.
59-
2. Scan the codebase with `migrate_ease_scan` to identify AVX2 intrinsics, x86-specific flags, and other portability considerations.
60-
3. Use `knowledge_base_search` to find appropriate Arm SIMD equivalents for every x86 intrinsic.
61-
4. Refactor the code with architecture-specific accuracy.
62-
5. Update Dockerfiles and build configurations for Arm comptibility.
63-
6. Create a pull request with the proposed changes using the GitHub MCP Server.
58+
- Verify whether container base images support `linux/arm64` using `check_image` or `skopeo`
59+
- Scan the codebase with `migrate_ease_scan` to identify AVX2 intrinsics, x86-specific flags, and other portability considerations
60+
- Use `knowledge_base_search` to find appropriate Arm SIMD equivalents for every x86 intrinsic
61+
- Refactor the code with architecture-specific accuracy
62+
- Update Dockerfiles and build configurations for Arm compatibility
63+
- Create a pull request with the proposed changes using the GitHub MCP Server
6464

6565
## What you will build in this Learning Path
6666

@@ -70,10 +70,17 @@ The demo repository is available at [github.com/JoeStech/docker-blog-arm-migrati
7070

7171
You will:
7272

73-
1. Set up Docker MCP Toolkit with the Arm, GitHub, and Sequential Thinking MCP servers.
74-
2. Connect VS Code with GitHub Copilot to the MCP Gateway.
75-
3. Analyze the x86-specific portions of the codebase.
76-
4. Use AI-assisted MCP workflows to update intrinsics and container configuration.
77-
5. Review and validate the pull request generated by the AI agent.
73+
- Set up Docker MCP Toolkit with the Arm, GitHub, and Sequential Thinking MCP servers
74+
- Connect VS Code with GitHub Copilot to the MCP Gateway
75+
- Analyze the x86-specific portions of the codebase
76+
- Use AI-assisted MCP workflows to update intrinsics and container configuration
77+
- Review and validate the pull request generated by the AI agent
7878

79-
In the next section, you will install and configure the Docker MCP Toolkit.
79+
## What you've accomplished and what's next
80+
81+
You now understand:
82+
- Why Arm migration requires more than rebuilding containers when architecture-specific code is present
83+
- How the Docker MCP Toolkit connects AI assistants to specialized migration tools
84+
- The structured workflow that GitHub Copilot uses to automate migration tasks
85+
86+
Next, you'll install and configure the Docker MCP Toolkit with the three required MCP servers.

content/learning-paths/servers-and-cloud-computing/docker-mcp-toolkit/2-setup.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ If the setup is correct, Copilot will list tools from:
9090

9191
This confirms that tool invocation through the MCP Gateway is working.
9292

93-
Your environment is now ready for AI-assisted migration.
93+
## What you've accomplished and what's next
9494

95-
In the next section, you will examine the demo application and identify the architecture-specific elements that require adaptation for Arm64.
95+
You have:
96+
- Enabled the Docker MCP Toolkit in Docker Desktop
97+
- Configured three MCP servers: Arm MCP Server, GitHub MCP Server, and Sequential Thinking MCP Server
98+
- Connected VS Code with GitHub Copilot to the MCP Gateway
99+
- Verified that Copilot can access migration tools
100+
101+
Next, you'll examine the demo application to identify x86-specific code that needs adaptation for Arm64.

content/learning-paths/servers-and-cloud-computing/docker-mcp-toolkit/3-understand-the-demo.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,11 @@ is specific to x86 register structure. On Arm, reduction is implemented using NE
9999
On newer Arm platforms supporting SVE or SVE2 (for example Neoverse V1/V2 based platforms), wider vector lengths may be available. SVE uses a vector-length-agnostic (VLA) model, which differs from fixed-width AVX2 and NEON programming. The Arm MCP Server knowledge base can help determine the appropriate approach for your target platform.
100100
{{% /notice %}}
101101
102-
In the next section, you will use GitHub Copilot with the Docker MCP Toolkit to automate the entire migration.
102+
## What you've accomplished and what's next
103+
104+
You have:
105+
- Examined a legacy x86 application with AVX2 intrinsics
106+
- Identified the architecture-specific elements: base image, compiler flags, SIMD headers, and intrinsic functions
107+
- Understood how vector width differences between AVX2 (256-bit) and NEON (128-bit) affect the migration approach
108+
109+
Next, you'll use GitHub Copilot with the Docker MCP Toolkit to automate the migration process.

content/learning-paths/servers-and-cloud-computing/docker-mcp-toolkit/4-run-migration.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,22 @@ You can see an example PR at [github.com/JoeStech/docker-blog-arm-migration/pull
136136
After migration, you should see:
137137

138138
**Dockerfile updates**:
139-
- Replaced `centos:6` with `ubuntu:22.04`.
140-
- Added `TARGETARCH` for multi-architecture builds.
141-
- Changed `-mavx2` to `-march=armv8-a+simd` for Arm builds.
139+
- Replaced `centos:6` with `ubuntu:22.04`
140+
- Added `TARGETARCH` for multi-architecture builds
141+
- Changed `-mavx2` to `-march=armv8-a+simd` for Arm builds
142142

143143
**Source code updates**:
144-
- Added `#ifdef __aarch64__` architecture guards.
145-
- Replaced all `_mm256_*` AVX2 intrinsics with NEON equivalents (`vld1q_f64`, `vaddq_f64`, `vmulq_f64`).
146-
- Adjusted loop strides from 4 (AVX2) to 2 (NEON).
147-
- Rewrote horizontal reduction using NEON pair-wise addition.
144+
- Added `#ifdef __aarch64__` architecture guards
145+
- Replaced all `_mm256_*` AVX2 intrinsics with NEON equivalents (`vld1q_f64`, `vaddq_f64`, `vmulq_f64`)
146+
- Adjusted loop strides from 4 (AVX2) to 2 (NEON)
147+
- Rewrote horizontal reduction using NEON pair-wise addition
148148

149-
In the next section, you will build, test, and validate the migrated application on Arm.
149+
## What you've accomplished and what's next
150+
151+
You have:
152+
- Provided migration instructions to GitHub Copilot
153+
- Observed the AI-driven workflow using MCP server tools
154+
- Reviewed the automated changes: container image updates, intrinsic mapping, and compiler flag adjustments
155+
- Seen how the GitHub MCP Server creates a pull request with all migration changes
156+
157+
Next, you'll build and validate the migrated application on Arm64 hardware.

content/learning-paths/servers-and-cloud-computing/docker-mcp-toolkit/5-validate-and-next-steps.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ The Docker MCP Toolkit and Arm MCP Server support more than the example migratio
117117
- **Knowledge base**: The `knowledge_base_search` tool covers all content from [learn.arm.com](https://learn.arm.com) Learning Paths, intrinsics documentation, and software compatibility information.
118118
- **Dynamic MCP**: AI agents can discover and add new MCP servers from the Docker MCP Catalog during a conversation without manual configuration.
119119

120-
## Summary
120+
## What you've accomplished
121121

122122
In this Learning Path, you:
123123

124-
1. Installed and configured the Docker MCP Toolkit with the Arm MCP Server, GitHub MCP Server, and Sequential Thinking MCP Server.
125-
2. Connected VS Code with GitHub Copilot to the MCP Gateway.
126-
3. Examined architecture-specific elements in a legacy x86 AVX2 application.
127-
4. Used AI-assisted MCP tools to analyze, refactor, and update the codebase for Arm64.
128-
5. Built and validated the migrated application on Arm64.
124+
- Installed and configured the Docker MCP Toolkit with the Arm MCP Server, GitHub MCP Server, and Sequential Thinking MCP Server
125+
- Connected VS Code with GitHub Copilot to the MCP Gateway
126+
- Examined architecture-specific elements in a legacy x86 AVX2 application
127+
- Used AI-assisted MCP tools to analyze, refactor, and update the codebase for Arm64
128+
- Built and validated the migrated application on Arm64
129129

130130
The Docker MCP Toolkit enables AI assistants to invoke structured migration tools inside the containerized Arm MCP server. This approach reduces manual lookup and repetitive refactoring work while keeping developers in control of review and validation.

content/learning-paths/servers-and-cloud-computing/docker-mcp-toolkit/_index.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
11
---
22
title: Automate x86 to Arm Migration with Docker MCP Toolkit, VS Code and GitHub Copilot
3-
4-
draft: true
5-
cascade:
6-
draft: true
73

84
description: Learn how to use the Docker MCP Toolkit with the Arm MCP Server and GitHub Copilot to automate container and code migration from x86 to Arm64. Through a hands-on example, migrate a legacy C++ application with AVX2 intrinsics to Arm NEON.
95

106
minutes_to_complete: 45
117

12-
who_is_this_for: This is an advanced topic for developers and DevOps engineers who want to automate the migration of containerized applications from x86 to Arm64 using AI-powered tools in the Docker MCP Toolkit.
13-
148
learning_objectives:
159
- Describe how the Model Context Protocol (MCP) enables AI coding assistants to invoke structured migration tools through the Arm MCP server
1610
- Explain how the Docker MCP Toolkit connects AI coding assistants to Arm MCP server
@@ -44,10 +38,6 @@ operatingsystems:
4438
- macOS
4539

4640
further_reading:
47-
- resource:
48-
title: "Automate x86 to Arm Migration with Docker MCP Toolkit, VS Code, and GitHub Copilot"
49-
link: https://www.docker.com/blog/automate-arm-migration-docker-mcp-copilot/
50-
type: blog
5141
- resource:
5242
title: Docker MCP Toolkit Documentation
5343
link: https://docs.docker.com/ai/mcp-catalog-and-toolkit/toolkit/

0 commit comments

Comments
 (0)