Skip to main content
Glama
test_docker_path.py312 B
import os import shutil from python_on_whales import DockerClient print(f"PATH: {os.environ.get('PATH')}") print(f"Docker location: {shutil.which('docker')}") try: client = DockerClient() version = client.version() print(f"Docker version: {version}") except Exception as e: print(f"Error: {e}")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/diegofornalha/docker-mcp-py'

If you have feedback or need assistance with the MCP directory API, please join our Discord server