Zum Inhalt springen

terminal

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

mdocker terminal manages per-project tmux sessions. Session state lives under .projects[<name>].sessions[] in the registry; tmux sessions are named mdocker__<project>__<id>. See AI Terminal Sessions.

Create a new session.

mdocker terminal new
mdocker terminal new <name> --tool <claude|copilot|shell> [--sandbox | --no-sandbox]

--sandbox maps to Claude Code’s --sandbox flag; it is ignored for copilot (no sandbox flag today).

List sessions (alive computed live).

mdocker terminal list
mdocker terminal list <name>
mdocker terminal list <name> --json

End a session.

mdocker terminal kill
mdocker terminal kill <name> <session-id>

Drop registry entries whose tmux session is gone.

mdocker terminal prune
mdocker terminal prune <name>

Print the tmux session name for a session id.

mdocker terminal name
mdocker terminal name <name> <session-id>

List available tools with availability (JSON).

mdocker terminal tools
mdocker terminal tools

Get or set the AI session start path, and a separate “open in editor” path.

paths
mdocker terminal path <name> [<path>]
mdocker terminal editor-path <name> [<path>]

A start path may be absolute, ~/-relative, or relative to the project directory.

Open a tmux-attached docker compose exec shell in a container.

mdocker terminal exec
mdocker terminal exec <name> <service> [<shell>]

The default shell is bash. The invocation respects the project’s COMPOSE_FILE chain (original + override).