Skip to content

Docker Widget

Lists all Docker containers on the host with their name, image, status, and uptime.

Requirements

  • Docker must be running on the host
  • The server process needs read access to the Docker socket

Docker socket access

Docker Compose (recommended):

yaml
volumes:
  - /var/run/docker.sock:/var/run/docker.sock:ro

Manual / development:

Ensure the user running the server is in the docker group:

bash
sudo usermod -aG docker $USER

Configuration

No API key required. The Docker socket path defaults to /var/run/docker.sock and can be overridden with the DOCKER_SOCKET environment variable.

KeyTypeDefaultDescription
hideHeaderbooleanfalseHide the widget title bar
defaultCollapsedbooleanfalseStart collapsed

Troubleshooting

No containers shown

  • Check the Docker socket is mounted and the path is correct
  • Verify the server has read permission: ls -la /var/run/docker.sock
  • Look for connection errors in the server logs

Personal Homepage Dashboard