Skip to content
No description, website, or topics provided.
Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
docker-compose.yaml
oc-agent-config.yaml
oc-collector-config.yaml
promconfig.yaml
run.sh

README.md

gopls_debug

Docker setup for debugging gopls using Jaeger et al.

Running interactively

docker run --rm -i -t -v /var/run/docker.sock:/var/run/docker.sock myitcv/gopls_debug

(For now we advise an interactive docker run so you can easily inspect the output in case of any issues)

Start gopls with the following flag:

-ocagent=http://localhost:55678

Then visit:

Ctrl-c will gracefully stop everything when you're done.

Running as a daemon

As a one off:

docker run -d --name gopls_debug -v /var/run/docker.sock:/var/run/docker.sock myitcv/gopls_debug

Then you can use docker start gopls_debug and docker stop gopls_debug.

Follow the same instructions as above for setting gopls flags etc.

Building

If you are interesting in helping to improve this image:

git clone https://github.com/myitcv/gopls_debug
cd gopls_debug
docker build -t myitcv/gopls_debug .
You can’t perform that action at this time.