cannot sync data from gprofiler using docker
- Dominant language
- Python
- Stars
- 826
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
I am using in Windows power shell and docker commands.
I pull image
docker pull granulate/gprofiler:latest
Then run docker contanier
docker run --name granulate-gprofiler --restart=always -d --pid=host --userns=host -v /var/run/docker.sock:/var/run/docker.sock --privileged granulate/gprofiler:latest -cu --token="UJa_VDmJAl5unlIcyWE5yxk4H1-XXXXXXXXXXXX" --service-name="custom_services"
running successfully. but Status will be Restarting...
run this below command to look logs
docker logs --tail 50 --follow --timestamps
running commands from windows shell. I got below error.

When try to access container:
Please run me in the init PID namespace! In Docker, make sure you pass '--pid=host'. In Kubernetes, add 'hostPID: true' in the Pod spec.
Error response from daemon: Container 5e6ba0f93c70605c3bc80ab166869e62318d49e15a77454aeb40217182c87234 is restarting, wait until the container is running
I try to pass this --disable-pids-check arguments still gprofiler is not syncing data.
Contributor guide
Assessment
This issue has not been assessed yet.