This guide will help you set up pyroscope with Docker.
If you are using docker compose, you can simply describe
---services: pyroscope: image: "pyroscope/pyroscope:latest" ports: - "4040:4040" command: - "server"
Then you will have to configure your Pyroscope agent to properly send data to the server.
Pyroscope Server perfectly works inside a Docker container. Running
pyroscope server from docker is pretty
straightforward, we have a docker image that exposes port
docker run -it -p 4040:4040 pyroscope/pyroscope:latest server
Open http://localhost:4040/ to see Pyroscope UI.
Check out the examples folder in our repository for examples of apps running in docker with pyroscope.