While running Go 1.14 inside docker, you might hit error:
runtime: increase the mlock limit (ulimit -l)
Add the following to /etc/docker/daemon.json
:
{
//...
"default-ulimits": {"memlock": {"Name": "memlock", "Hard": 67108864, "Soft": 67108864}}
}
Limit itself might depend on your system, default limit docker enforces is 65536, which is not enough for Go.