docker-windows

Automate Docker commands in Git Bash on Windows with path and flag preservation.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/az9713/moose --skill docker-windows
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docker-windows
Source: https://github.com/az9713/moose/tree/main/.claude/skills/docker-windows
Command: npx skills add https://github.com/az9713/moose --skill docker-windows

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the common and frustrating issues encountered when running Docker commands from Git Bash/MINGW on Windows, preventing silent failures due to path mangling and flag conversion.

Core Features & Use Cases

  • Path Mangling Prevention: Ensures Docker commands correctly interpret Windows paths.
  • Flag Preservation: Guarantees that command-line flags are passed accurately to Docker.
  • Volume Mount Stability: Fixes issues with mounting host directories into containers.
  • Use Case: Seamlessly execute MOOSE simulations within Docker containers on a Windows machine, overcoming the typical command-line hurdles.

Quick Start

Use the docker-windows skill to run the MOOSE Docker image to execute a simulation input file named 'input.i' located in the current directory.

Frequently Asked Questions about docker-windows

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does Docker volume mounting fail in Git Bash on Windows?

Docker volume mounting fails in Git Bash on Windows due to MINGW path mangling and automatic flag conversion. Setting the MSYS_NO_PATHCONV=1 environment variable prevents these alterations, ensuring Windows paths and command-line flags pass accurately to the Docker daemon.

How do I run MOOSE simulations in a Docker container on Windows?

To run MOOSE simulations in Docker on Windows, use a command structure that prevents Git Bash path mangling. This involves setting the MSYS_NO_PATHCONV=1 environment variable to reliably mount host directories and pass input files to the containerized application.

What is MSYS_NO_PATHCONV used for when running Docker commands?

MSYS_NO_PATHCONV is an environment variable used to disable automatic path conversion in MINGW and Git Bash. Setting it to 1 preserves original Windows paths and command-line flags, preventing silent execution failures when interacting with the Docker daemon.

Can I use Docker with MINGW without breaking command-line flags?

Yes, you can use Docker with MINGW without breaking command-line flags by configuring the shell environment. Disabling path conversion with MSYS_NO_PATHCONV=1 stops the shell from altering flags and paths, maintaining the integrity of Docker execution commands.

How to fix silent Docker command failures on Windows command line?

To fix silent Docker command failures on Windows, disable MINGW path mangling by setting the MSYS_NO_PATHCONV=1 environment variable. This ensures volume mounts and command-line flags are interpreted correctly by Docker rather than being altered by Git Bash.