intel / intel/gprofiler

cannot sync data from gprofiler using docker

Open
#364 1 comment 0 reactions 0 assignees View on GitHub
question
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.

![docker_logs](https://user-images.githubusercontent.com/25578991/167603876-5f630ea4-2c84-460a-ae4f-2f25bbb79767.PNG)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.