Docker SELinux
💡 Tip
The easiest way to run SigNoz is to use SigNoz Cloud - no installation, maintenance, or scaling needed.
New users get 30 days of unlimited access to all features. Click here to sign up.
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