Run on http://localhost:3000 with the current directory as a workspace:
docker run --security-opt seccomp=unconfined -e GO111MODULE=auto -it --init -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia-go:next
IMPORTANT: if your host OS is different from image OS (linux-amd64) then don't mount but pull (go get
) the project from the container to install dependencies against image OS, otherwise Go tooling won't work properly
Options:
--security-opt seccomp=unconfined
enables running without the default seccomp profile to allow Go debugging-e GO111MODULE=auto
controls Go module support