Skip to main content

Web based management of your docker installation

To manage your docker installation of TeslaMate you could use the open-source management UI portainer.

Installation

Add a new portainer service and a portainer-data volume to your docker-compose.yml:

services:
portainer:
image: portainer/portainer
restart: always
ports:
- 9000:9000
command: -H unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer-data:/data

volumes:
portainer-data:

Afterwards, access the docker management console at http://yourhost:9000.

caution

Exposing the docker socket (docker.sock) is a security risk. Giving an application access to it is equivalent to giving a unrestricted root access to your host. For more information see OWASP: Do not expose the Docker daemon socket.