Greetings,
I installed the MCP toolkit on a headless machine running Docker engine (so no Docker Desktop) as explained here. I added the google-maps-comprehensive server, and I now need to add an API key for that. However, I failed so far:
$ docker mcp secret set GOOGLE_MAPS_API_KEY=my_api_key
Post "http://localhost/secrets": dial unix /root/.docker/desktop/jfs.sock: connect: no such file or directory
Note that, to avoid typing sudo docker every time, I aliased docker to sudo docker, but I donāt think this matters here. I know you can give permission to your user to run it without sudo, but this way seems to work just as well without requiring a relogin.
Any idea how I can fix this?
Thank you for your help,
GTP
Edit: herās some more information
$ docker info [13/1857]
Client: Docker Engine - Community
Version: 29.1.5
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.30.1
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v5.0.1
Path: /usr/libexec/docker/cli-plugins/docker-compose
mcp: Docker MCP Plugin (Docker Inc.)
Version: 6c7ffeea484ed3e301cd20eb6b5b38c162895f33
Path: /usr/libexec/docker/cli-plugins/docker-mcp
Server:
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 3
Server Version: 29.1.5
Storage Driver: overlayfs
driver-type: io.containerd.snapshotter.v1
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
CDI spec directories:
/etc/cdi
/var/run/cdi
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: dea7da592f5d1d2b7755e3a161be07f43fad8f75
runc version: v1.3.4-0-gd6d73eb8
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.8.0-1041-oracle
Operating System: Ubuntu 22.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 956.7MiB
Name: irc
ID: 8e7cad3e-6f19-4dbb-8c68-b0f812290f2b
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
::1/128
127.0.0.0/8
Live Restore Enabled: false
Firewall Backend: iptables