Docker SELinux
Use Self Hosted SigNoz if you need
- Full on-prem control
- Custom build tweaks
- Zero outbound traffic
Otherwise, try SigNoz Cloud to
- Onboard in 5 minutes
- Auto-scale & upgrades
- Zero ops maintenance
Prerequisites
- A SELinux enabled sytem.
- Git client
- Ensure that the ports
8080
,4317
and4318
are open on the machine where you install SigNoz.
Running Docker in SElinux
When running SigNoz with Docker on SELinux-enabled hosts, you need to apply an SELinux label to bind-mount volumes by appending either :z
or :Z
to the volume suffix.
For example:
docker run -d \
--name signoz \
-p 3301:3301 \
-v "$(pwd)"/signoz-data:/data:z \
signoz/signoz:latest
Or, in a Docker Compose file:
version: '3.7'
services:
signoz:
image: signoz/signoz:latest
container_name: signoz
ports:
- "3301:3301"
volumes:
- ./signoz-data:/data:Z
References:
✅ Info
These are the some of the services for which you need to add labels in the docker-compose file:
Install SigNoz
Please Follow the docs for installing Signoz in docker or docker swarm