UNPKG

container-exec-mcp

Version:

MCP server with Docker Container automation capabilities

32 lines (29 loc) 831 B
version: '3.8' services: ubuntu: build: context: . dockerfile: Dockerfile container_name: ubuntu-dev # Keep container running command: tail -f /dev/null # Enable interactive terminal stdin_open: true tty: true volumes: # Map container's user directory to local ./user directory - ./workspace:/home/ubuntu/workspace working_dir: /home/ubuntu/workspace environment: - TERM=xterm-256color # Optional: expose ports if needed # ports: # - "8080:8080" # Optional: install common tools on startup # You can uncomment and modify this section if you want tools pre-installed # entrypoint: | # bash -c " # apt-get update && # apt-get install -y curl wget git vim nano htop && # tail -f /dev/null # "