问题
I am trying to use delve in Eclipse Che
Running Eclipse Che in docker with
--privileged
is not helping
docker run -it --privileged --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/data eclipse/che start
When running dlv debug main.go
I get could not launch process: fork/exec /projects/desktop-go-simple/debug: operation not permitted
Can you run dlv debugger in Eclipse Che
回答1:
Adding --privileged adds capabilities to Eclipse Che CLI only.
Instead of that add CHE_DOCKER_PRIVILEGED=true
line to che.env file inside of Che data directory mounted to /data
来源:https://stackoverflow.com/questions/43987476/unable-to-run-delve-in-eclipse-che-could-not-launch-process-operation-not-per