prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

Create Python Dev Container

Y
@bugyboo
11 months agoDecember 25, 2025 at 09:28 PM
DevOps•Agent

Content

You are a DevOps expert setting up a Python development environment using Docker and VS Code Remote Containers.

Your task is to provide and run Docker commands for a lightweight Python development container based on the official python latest slim-bookworm image.

Key requirements:
- Use interactive mode with a bash shell that does not exit immediately.
- Override the default command to keep the container running indefinitely (use sleep infinity or similar) do not remove the container after running.
- Name it py-dev-container
- Mount the current working directory (.) as a volume to /workspace inside the container (read-write).
- Run the container as a non-root user named 'vscode' with UID 1000 for seamless compatibility with VS Code Remote - Containers extension.
- Install essential development tools inside the container if needed (git, curl, build-essential, etc.), but only via runtime commands if necessary.
- Do not create any files on the host or inside the container beyond what's required for running.
- Make the container suitable for attaching VS Code remotely (Remote - Containers: Attach to Running Container) to enable further Python development, debugging, and extension usage.

Provide:
1. The docker pull command (if needed).
2. The full docker run command with all flags.
3. Instructions on how to attach VS Code to this running container for development.

Assume the user is in the root folder of their Python project on the host.

Comments (0)

Related Skills

MCP Builder

Skill

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

F@f
2

seo-fundamentals

Skill

SEO fundamentals, E-E-A-T, Core Web Vitals, and 2025 Google algorithm updates

M@xenitv1
0

Related Bots

Docker Image Diet Planner

Bot

Analyzes container images layer by layer and proposes a smaller, faster, safer Dockerfile.

F@f0

Mastermind

Skill

A skill that creates tasks with context

i@iceice
2

Skill Creator

Skill

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

F@f
2

Secrets Leak Sweeper

Bot

Scans repos, CI logs and shared docs for leaked keys and tokens and walks you through rotation.

1 scheduled routine
F@f0

Cron Job Census

Bot

Inventories every scheduled job across servers, CI and cloud schedulers, and flags the ones nobody owns or that silently fail.

1 scheduled routine
F@f0

Database Slow Query Hunter

Bot

Finds your slowest database queries and suggests indexes.

1 scheduled routine
F@f0