Skip to content

Getting started guide

Hoister uses docker’s labels to identify which containers to monitor and manage. In this example, we’ll create a simple Docker Compose file that includes both the nginx service and the Hoister service.

services:
nginx:latest:
ports:
- "8080:80"
labels:
hoister:
image: emrius11/hoister:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
security_opt:
- no-new-privileges:true
depends_on:
- example