---
id: video/ecYXnXULijI
type: video
title: Let's Build a Plug & Play Claude Code Setup for AL Development - The Business Central Coding Stream
summary: Live coding stream building a dev container to run Claude Code safely with the bypass-permissions flag for AL development. It covers the Ubuntu Dockerfile and dev container feature, persisting Claude Code login through shared Docker volumes, and attempts to strip git credentials. The result is a work-in-progress MVP published on GitHub, and the presenter plans to switch to Anthropic's own firewalled dev container in part two.
tier: community
language: en
tags:
  - dev containers
  - cloud code
  - al development
  - docker
  - authentication
  - wsl
  - windows
  - ai coding
  - claude agent
  - dockerfile
  - github copilot
  - github actions
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-07T23:22:12.042Z"
  flags: []
generated:
  at: "2026-10-07T23:22:12.125Z"
  pipeline: 0.2.0
  prompts:
    extract-video: 1
    summarize-video: 2
  input_hash: 1e2d7d1979b5432e15f1a6324fceb74c11a43c4d7dadd200df5f34b6b48f6cf5
evidence:
  - kind: video
    url: https://www.youtube.com/watch?v=ecYXnXULijI&t=3835s
    title: "AL-specific directory mounting: announced"
    date: "2026-02-20T03:28:31.000Z"
    commit: null
    t: 3835
    quote: cloud AL specific directory will be the next thing
  - kind: video
    url: https://www.youtube.com/watch?v=ecYXnXULijI&t=67s
    title: Let's Build a Plug & Play Claude Code Setup for AL Development - The Business Central Coding Stream
    date: "2026-02-20T03:28:31.000Z"
    commit: null
    t: 67
    quote: my Cloud markdown my instructions on how to do AI development, also like the the profile I have with the agent
  - kind: video
    url: https://www.youtube.com/watch?v=ecYXnXULijI&t=134s
    title: Let's Build a Plug & Play Claude Code Setup for AL Development - The Business Central Coding Stream
    date: "2026-02-20T03:28:31.000Z"
    commit: null
    t: 134
    quote: the idea is to build a dev container script
  - kind: video
    url: https://www.youtube.com/watch?v=ecYXnXULijI&t=240s
    title: Let's Build a Plug & Play Claude Code Setup for AL Development - The Business Central Coding Stream
    date: "2026-02-20T03:28:31.000Z"
    commit: null
    t: 240
    quote: I have bypass permission set on. This is a dangerously do not do this in live or something uh uh flag
  - kind: video
    url: https://www.youtube.com/watch?v=ecYXnXULijI&t=286s
    title: Let's Build a Plug & Play Claude Code Setup for AL Development - The Business Central Coding Stream
    date: "2026-02-20T03:28:31.000Z"
    commit: null
    t: 286
    quote: I want to encapsulate this inside a dev container, because then it can screw up and completely destroy this com- completely container, but it
  - kind: video
    url: https://www.youtube.com/watch?v=ecYXnXULijI&t=322s
    title: Let's Build a Plug & Play Claude Code Setup for AL Development - The Business Central Coding Stream
    date: "2026-02-20T03:28:31.000Z"
    commit: null
    t: 322
    quote: This is a built-in sub agent the task thing, if you haven't worked with this. So, it decided to do ...
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
video_id: ecYXnXULijI
channel: yt-stefanmaron
source_name: Stefan Maron
url: https://www.youtube.com/watch?v=ecYXnXULijI
published_at: "2026-02-20T03:28:31.000Z"
duration_s: 4982
captions: derived
audience:
  - developer
  - administrator
chapters:
  - t: 0
    title: Introduction and context on Cloud Code setup
  - t: 122
    title: Dev container configuration goals and voice prompting approach
  - t: 229
    title: Bypass permission flag and containment strategy
  - t: 312
    title: Claude agent research on Cloud Code authentication
  - t: 445
    title: Agent preferences and authentication approach options
  - t: 535
    title: Interactive questions and Dockerfile creation
  - t: 667
    title: Generated files and WSL Windows compatibility check
  - t: 788
    title: Testing Cloud Code for Dev Container and GitHub Integration
  - t: 1095
    title: Resolving Local File System Path Issues
  - t: 1308
    title: Publishing to GitHub and Testing Authentication
  - t: 1482
    title: Autonomous Copilot Assistance and Dev Container Rebuild
  - t: 1870
    title: Cloud Code login and authentication challenges
  - t: 2105
    title: Dedicated AL config folder and mounted directory approach
  - t: 2286
    title: Authentication strategy and Docker Volume Mounting Strategy
  - t: 2581
    title: VS Code Dev Container Configuration and Testing Shared Folder Approach
  - t: 2906
    title: Container Rebuild and Cloud Code Authentication Setup
  - t: 3340
    title: Testing Credential Persistence and MVP Validation
  - t: 3628
    title: Multi-Subscription Support and Git Repository Sanitization
  - t: 3902
    title: Git remote safety and credential persistence approach
  - t: 4289
    title: Testing git operations and VS Code authentication
  - t: 4582
    title: GitHub authentication and Anthropic dev container discovery
  - t: 4809
    title: Anthropic dev container design and closing remarks
features:
  - name: Dev container script for AL development
    status: unclear
    t: 122
    verified: false
    status_source: video
  - name: Claude voice prompting in development workflow
    status: unclear
    t: 160
    verified: false
    status_source: video
  - name: Bypass permission flag for Cloud Code
    status: unclear
    t: 240
    verified: false
    status_source: video
  - name: Claude agent sub-agent task delegation
    status: unclear
    t: 312
    verified: false
    status_source: video
  - name: Opus configuration for thorough analysis
    status: unclear
    t: 454
    verified: false
    status_source: video
  - name: Interactive Claude prompting within sessions
    status: unclear
    t: 535
    verified: false
    status_source: video
  - name: Dockerfile generation for dev containers
    status: unclear
    t: 667
    verified: false
    status_source: video
  - name: WSL Windows compatibility verification
    status: unclear
    t: 738
    verified: false
    status_source: video
  - name: Dev Container Feature
    status: unclear
    t: 916
    verified: false
    status_source: video
  - name: Dev Container CLI
    status: unclear
    t: 1137
    verified: false
    status_source: video
  - name: Cloud Code authentication persistence in dev containers
    status: unclear
    t: 1870
    verified: false
    status_source: video
  - name: Mounted docker volume for shared AL development configuration
    status: unclear
    t: 2105
    verified: false
    status_source: video
  - name: User-level AL development instructions in Cloud Code
    status: unclear
    t: 2431
    verified: false
    status_source: video
  - name: Voice recording to clipboard shortcut
    status: unclear
    t: 2350
    verified: false
    status_source: video
  - name: Docker volume for dev container authentication
    status: unclear
    t: 2377
    verified: false
    status_source: video
  - name: Cloud Code dev container configuration
    status: unclear
    t: 2570
    verified: false
    status_source: video
  - name: Cloud Code authorization callback
    status: unclear
    t: 2835
    verified: false
    status_source: video
  - name: Cloud trace JSON authentication storage
    status: unclear
    t: 3155
    verified: false
    status_source: video
  - name: AL-specific directory mounting
    status: announced
    t: 3835
    verified: true
    status_source: video
  - name: Git remote sanitization for dev containers
    status: unclear
    t: 3851
    verified: false
    status_source: video
  - name: Git credential stripping in dev containers
    status: unclear
    t: 4020
    verified: false
    status_source: video
  - name: Sudo support in dev container post-start commands
    status: unclear
    t: 4247
    verified: false
    status_source: video
  - name: Anthropic dev container template
    status: unclear
    t: 4736
    verified: false
    status_source: video
  - name: AL development commands in Docker container
    status: unclear
    t: 4851
    verified: false
    status_source: video
  - name: Two-part dev container series
    status: unclear
    t: 4836
    verified: false
    status_source: video
objects_mentioned:
  - other Cloud Code
  - other Dockerfile
  - other dev container JSON file
  - other Sentinel project
  - other release pipeline
  - other dev container template
  - other GitHub repository
  - other Whisper
  - other credentials.json
  - other cloud trace JSON
  - other dev container JSON
quotes:
  - t: 67
    text: my Cloud markdown my instructions on how to do AI development, also like the the profile I have with the agent
    check: exact
  - t: 134
    text: the idea is to build a dev container script
    check: exact
  - t: 240
    text: I have bypass permission set on. This is a dangerously do not do this in live or something uh uh flag
    check: exact
  - t: 286
    text: I want to encapsulate this inside a dev container, because then it can screw up and completely destroy this com- completely container, but it
    check: exact
  - t: 322
    text: This is a built-in sub agent the task thing, if you haven't worked with this. So, it decided to do ...
    check: exact
---

# Let's Build a Plug & Play Claude Code Setup for AL Development - The Business Central Coding Stream

> Live coding stream building a dev container to run Claude Code safely with the bypass-permissions flag for AL development. It covers the Ubuntu Dockerfile and dev container feature, persisting Claude Code login through shared Docker volumes, and attempts to strip git credentials. The result is a work-in-progress MVP published on GitHub, and the presenter plans to switch to Anthropic's own firewalled dev container in part two.

[Watch on YouTube](https://www.youtube.com/watch?v=ecYXnXULijI) · Stefan Maron · 2026-02-20 · 1:23:02 · tier community · reviewed (checked by Opus)

## Overview

Stefan Maron builds a dev container for AL development with Claude Code, prompting Claude by voice (Whisper transcription) and letting it research and generate the Dockerfile and dev container JSON on an Ubuntu base. The goal is to run Claude Code with the dangerous bypass-permission flag only inside a container, so that a malfunction can only damage the container.

Most of the stream deals with authentication. Login did not carry over from the host and did not persist across rebuilds. He tests mounting folders and Docker volumes that are created on first use, so users authenticate once and can use a different subscription per project. He also looks at removing git remotes and credentials in the container, and ends by pointing to an Anthropic dev container that whitelists only Anthropic APIs. The work is on GitHub and is not finished.

## Key points

- The bypass-permission flag removes manual approval of every command. It is dangerous outside a sandbox, so the presenter wants it used only inside a dev container.
- Claude generated a Dockerfile based on Ubuntu that installs Claude Code, sets the path, writes dev container JSON with a home directory bind and an Anthropic environment variable. It was checked as compatible with WSL on Windows.
- Claude reported three authentication approaches, the first being binding the Claude Code folder from the host. The presenter wanted both folder binding and an API key supported, but login did not carry through, and he doubted an API key works with a subscription.
- Credentials did not persist across container rebuilds. Mounting the .local/share folder was not enough, because Claude Code still prompted for onboarding and writes files elsewhere.
- Docker volumes created on first use hold the authentication, so users log in once and reuse it. Naming the mounts differently per project allows a different subscription per project. Some confirmation prompts remain.
- Removing the git remote inside the container also removes it on the host, because the workspace is shared. Credential stripping was incomplete: pull and push still worked, and pushing via VS Code worked because VS Code is authenticated to GitHub.
- Anthropic publishes a dev container that whitelists only Anthropic APIs, and the presenter decided to use it as the base. He has built AL compile, publish and run tests commands and plans to bake them and his instructions into the container in a later part.

## Chapters

- [0:00](https://www.youtube.com/watch?v=ecYXnXULijI&t=0s) Introduction and context on Cloud Code setup
- [2:02](https://www.youtube.com/watch?v=ecYXnXULijI&t=122s) Dev container configuration goals and voice prompting approach
- [3:49](https://www.youtube.com/watch?v=ecYXnXULijI&t=229s) Bypass permission flag and containment strategy
- [5:12](https://www.youtube.com/watch?v=ecYXnXULijI&t=312s) Claude agent research on Cloud Code authentication
- [7:25](https://www.youtube.com/watch?v=ecYXnXULijI&t=445s) Agent preferences and authentication approach options
- [8:55](https://www.youtube.com/watch?v=ecYXnXULijI&t=535s) Interactive questions and Dockerfile creation
- [11:07](https://www.youtube.com/watch?v=ecYXnXULijI&t=667s) Generated files and WSL Windows compatibility check
- [13:08](https://www.youtube.com/watch?v=ecYXnXULijI&t=788s) Testing Cloud Code for Dev Container and GitHub Integration
- [18:15](https://www.youtube.com/watch?v=ecYXnXULijI&t=1095s) Resolving Local File System Path Issues
- [21:48](https://www.youtube.com/watch?v=ecYXnXULijI&t=1308s) Publishing to GitHub and Testing Authentication
- [24:42](https://www.youtube.com/watch?v=ecYXnXULijI&t=1482s) Autonomous Copilot Assistance and Dev Container Rebuild
- [31:10](https://www.youtube.com/watch?v=ecYXnXULijI&t=1870s) Cloud Code login and authentication challenges
- [35:05](https://www.youtube.com/watch?v=ecYXnXULijI&t=2105s) Dedicated AL config folder and mounted directory approach
- [38:06](https://www.youtube.com/watch?v=ecYXnXULijI&t=2286s) Authentication strategy and Docker Volume Mounting Strategy
- [43:01](https://www.youtube.com/watch?v=ecYXnXULijI&t=2581s) VS Code Dev Container Configuration and Testing Shared Folder Approach
- [48:26](https://www.youtube.com/watch?v=ecYXnXULijI&t=2906s) Container Rebuild and Cloud Code Authentication Setup
- [55:40](https://www.youtube.com/watch?v=ecYXnXULijI&t=3340s) Testing Credential Persistence and MVP Validation
- [1:00:28](https://www.youtube.com/watch?v=ecYXnXULijI&t=3628s) Multi-Subscription Support and Git Repository Sanitization
- [1:05:02](https://www.youtube.com/watch?v=ecYXnXULijI&t=3902s) Git remote safety and credential persistence approach
- [1:11:29](https://www.youtube.com/watch?v=ecYXnXULijI&t=4289s) Testing git operations and VS Code authentication
- [1:16:22](https://www.youtube.com/watch?v=ecYXnXULijI&t=4582s) GitHub authentication and Anthropic dev container discovery
- [1:20:09](https://www.youtube.com/watch?v=ecYXnXULijI&t=4809s) Anthropic dev container design and closing remarks

## Features

| Feature | Status | At | Evidence |
|---|---|---|---|
| Dev container script for AL development | status not stated, demoed | [2:02](https://www.youtube.com/watch?v=ecYXnXULijI&t=122s) |  |
| Claude voice prompting in development workflow | status not stated, demoed | [2:40](https://www.youtube.com/watch?v=ecYXnXULijI&t=160s) |  |
| Bypass permission flag for Cloud Code | status not stated, demoed | [4:00](https://www.youtube.com/watch?v=ecYXnXULijI&t=240s) |  |
| Claude agent sub-agent task delegation | status not stated, demoed | [5:12](https://www.youtube.com/watch?v=ecYXnXULijI&t=312s) |  |
| Opus configuration for thorough analysis | status not stated, demoed | [7:34](https://www.youtube.com/watch?v=ecYXnXULijI&t=454s) |  |
| Interactive Claude prompting within sessions | status not stated, demoed | [8:55](https://www.youtube.com/watch?v=ecYXnXULijI&t=535s) |  |
| Dockerfile generation for dev containers | status not stated, demoed | [11:07](https://www.youtube.com/watch?v=ecYXnXULijI&t=667s) |  |
| WSL Windows compatibility verification | status not stated, demoed | [12:18](https://www.youtube.com/watch?v=ecYXnXULijI&t=738s) |  |
| Dev Container Feature | status not stated, demoed | [15:16](https://www.youtube.com/watch?v=ecYXnXULijI&t=916s) |  |
| Dev Container CLI | status not stated | [18:57](https://www.youtube.com/watch?v=ecYXnXULijI&t=1137s) |  |
| Cloud Code authentication persistence in dev containers | status not stated, demoed | [31:10](https://www.youtube.com/watch?v=ecYXnXULijI&t=1870s) |  |
| Mounted docker volume for shared AL development configuration | status not stated | [35:05](https://www.youtube.com/watch?v=ecYXnXULijI&t=2105s) |  |
| User-level AL development instructions in Cloud Code | status not stated | [40:31](https://www.youtube.com/watch?v=ecYXnXULijI&t=2431s) |  |
| Voice recording to clipboard shortcut | status not stated | [39:10](https://www.youtube.com/watch?v=ecYXnXULijI&t=2350s) |  |
| Docker volume for dev container authentication | status not stated, demoed | [39:37](https://www.youtube.com/watch?v=ecYXnXULijI&t=2377s) |  |
| Cloud Code dev container configuration | status not stated, demoed | [42:50](https://www.youtube.com/watch?v=ecYXnXULijI&t=2570s) |  |
| Cloud Code authorization callback | status not stated, demoed | [47:15](https://www.youtube.com/watch?v=ecYXnXULijI&t=2835s) |  |
| Cloud trace JSON authentication storage | status not stated, demoed | [52:35](https://www.youtube.com/watch?v=ecYXnXULijI&t=3155s) |  |
| AL-specific directory mounting | announced | [1:03:55](https://www.youtube.com/watch?v=ecYXnXULijI&t=3835s) | "cloud AL specific directory will be the next thing" ([1:03:55](https://www.youtube.com/watch?v=ecYXnXULijI&t=3835s)) |
| Git remote sanitization for dev containers | status not stated | [1:04:11](https://www.youtube.com/watch?v=ecYXnXULijI&t=3851s) |  |
| Git credential stripping in dev containers | status not stated, demoed | [1:07:00](https://www.youtube.com/watch?v=ecYXnXULijI&t=4020s) |  |
| Sudo support in dev container post-start commands | status not stated | [1:10:47](https://www.youtube.com/watch?v=ecYXnXULijI&t=4247s) |  |
| Anthropic dev container template | status not stated | [1:18:56](https://www.youtube.com/watch?v=ecYXnXULijI&t=4736s) |  |
| AL development commands in Docker container | status not stated | [1:20:51](https://www.youtube.com/watch?v=ecYXnXULijI&t=4851s) |  |
| Two-part dev container series | status not stated | [1:20:36](https://www.youtube.com/watch?v=ecYXnXULijI&t=4836s) |  |

## AL objects mentioned

As heard in the captions. A name that matches one object page by exact type and name links to it; the others stay as named.

- other "Cloud Code" at [0:55](https://www.youtube.com/watch?v=ecYXnXULijI&t=55s)
- other "Dockerfile" at [2:52](https://www.youtube.com/watch?v=ecYXnXULijI&t=172s)
- other "dev container JSON file" at [12:03](https://www.youtube.com/watch?v=ecYXnXULijI&t=723s)
- other "Sentinel project" at [16:28](https://www.youtube.com/watch?v=ecYXnXULijI&t=988s)
- other "release pipeline" at [18:04](https://www.youtube.com/watch?v=ecYXnXULijI&t=1084s)
- other "dev container template" at [18:15](https://www.youtube.com/watch?v=ecYXnXULijI&t=1095s)
- other "GitHub repository" at [27:48](https://www.youtube.com/watch?v=ecYXnXULijI&t=1668s)
- other "Whisper" at [38:58](https://www.youtube.com/watch?v=ecYXnXULijI&t=2338s)
- other "credentials.json" at [55:59](https://www.youtube.com/watch?v=ecYXnXULijI&t=3359s)
- other "cloud trace JSON" at [53:02](https://www.youtube.com/watch?v=ecYXnXULijI&t=3182s)
- other "dev container JSON" at [1:01:22](https://www.youtube.com/watch?v=ecYXnXULijI&t=3682s)

## Quotes

- [1:07](https://www.youtube.com/watch?v=ecYXnXULijI&t=67s) "my Cloud markdown my instructions on how to do AI development, also like the the profile I have with the agent"
- [2:14](https://www.youtube.com/watch?v=ecYXnXULijI&t=134s) "the idea is to build a dev container script"
- [4:00](https://www.youtube.com/watch?v=ecYXnXULijI&t=240s) "I have bypass permission set on. This is a dangerously do not do this in live or something uh uh flag"
- [4:46](https://www.youtube.com/watch?v=ecYXnXULijI&t=286s) "I want to encapsulate this inside a dev container, because then it can screw up and completely destroy this com- completely container, but it"
- [5:22](https://www.youtube.com/watch?v=ecYXnXULijI&t=322s) "This is a built-in sub agent the task thing, if you haven't worked with this. So, it decided to do ..."

## Disclaimers in the video

- [4:00](https://www.youtube.com/watch?v=ecYXnXULijI&t=240s) other: bypass permission set on. This is a dangerously do not do this in live or something
- [24:42](https://www.youtube.com/watch?v=ecYXnXULijI&t=1482s) preview: It's not done yet. I still work on this
- [37:36](https://www.youtube.com/watch?v=ecYXnXULijI&t=2256s) coming-later: if we would mount a separate separate uh cloud folder dedicated to AL development and maybe even ship one with the dev container
- [38:06](https://www.youtube.com/watch?v=ecYXnXULijI&t=2286s) subject-to-change: Would it be possible to have to like let or initiate authentication inside the dev container and then have it persist
- [40:31](https://www.youtube.com/watch?v=ecYXnXULijI&t=2431s) coming-later: user level instructions basically that are AL specific... in the future of the
- [1:03:55](https://www.youtube.com/watch?v=ecYXnXULijI&t=3835s) coming-later: cloud AL specific directory will be the next thing
- [1:12:02](https://www.youtube.com/watch?v=ecYXnXULijI&t=4322s) other: not sure if that's something we're supposed to do
- [1:20:36](https://www.youtube.com/watch?v=ecYXnXULijI&t=4836s) coming-later: this is probably going to be part one from at least a two-part series
- [1:20:51](https://www.youtube.com/watch?v=ecYXnXULijI&t=4851s) coming-later: I will build this live on stream, so what I did now, I will continue

Presenters (as heard): Claude Code, GitHub Copilot.
