Found almost nothing. Just the SSH connection dropped, after about 20s. It happened systematically.
Only found with a journalctl -u docker:
Handler for POST /v1.42/containers/57193...6ab/kill returned error: Cannot kill container: 57193...6ab:
Cannot kill container 57193...6ab:
unknown error after kill:
runc did not terminate successfully:
exit status 1:
unable to signal init:
permission denied\n: unknown
I was able to run it fine locally. The note in the error about the container tells me this might be a docker issue of some kind. Not sure why it’s trying to kill that container.
Can you docker logs <container id>? Also - depending on your environment if you are trying to expose a port or something you could be running in to SELinux or something along those lines. But I think this is pretty clearly a Linux/Docker issue.
What happens if you do the opposite and run it with the web server running but don’t expose the port to the outside world (so remove -p 8080:8080)? Also - you could try this:
docker run -it --entrypoint=sh hello_go
And then manually run ./hello_go_http to see if you can get a better error message that way or otherwise see what is going on.