1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-10-04 17:33:21 +08:00

Increase limits and change ngrok instance

This commit is contained in:
Marcos Lilljedahl
2016-11-14 16:38:57 -03:00
parent 8958b240bf
commit 46f95ce6a5
2 changed files with 3 additions and 3 deletions

View File

@@ -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