diff --git a/README.md b/README.md index 6bcfdb8..c83b73b 100644 --- a/README.md +++ b/README.md @@ -47,5 +47,5 @@ Notes: ### How can I connect to a published port from the outside world? -We're planning to setup a reverse proxy that handles redirection automatically, in the meantime you can use [ngrok](https://ngrok.com) within PWD running `docker run -d --net=host fnichol/ngrok "-log-level debug 127.0.0.1:"` where `""` is the published service port. After that check the created container logs to look for the *.ngrok.io URL so it can be used in the browser and that's it. +We're planning to setup a reverse proxy that handles redirection automatically, in the meantime you can use [ngrok](https://ngrok.com) within PWD running `docker run -d --net=host jpetazzo/ngrok "-log-level debug 127.0.0.1:"` where `""` is the published service port. After that check the created container logs to look for the *.ngrok.io URL so it can be used in the browser and that's it. diff --git a/services/docker.go b/services/docker.go index fb72f1d..bf3a88d 100644 --- a/services/docker.go +++ b/services/docker.go @@ -83,8 +83,8 @@ func ResizeExecConnection(execId string, ctx context.Context, cols, rows uint) e func CreateInstance(net string, dindImage string) (*Instance, error) { h := &container.HostConfig{NetworkMode: container.NetworkMode(net), Privileged: true} - h.Resources.PidsLimit = int64(150) - h.Resources.Memory = 512 * Megabyte + h.Resources.PidsLimit = int64(500) + h.Resources.Memory = 4092 * Megabyte t := true h.Resources.OomKillDisable = &t