Testground
GitHubGo SDKInfra
master
master
  • README
  • Table of contents
    • What is Testground?
      • Community
    • Concepts and architecture
      • Test plans and test cases
      • Daemon and client
      • Synchronization service
      • Networking
      • Sidecar
      • Builders
      • Runners
      • Runtime environment (runenv)
      • Client-Server communication
    • Getting started
    • Writing test plans
      • Quick start
      • Understanding the test plan manifest
      • Parameters and test cases
      • Keeping instances in sync
      • Communication between instances
      • Observability, assets and metrics
    • Managing test plans
    • Running test plans
    • Traffic shaping
    • Analyzing test run results
      • Capturing profiles
    • Debugging test plans
    • Docker Settings
    • Featured projects
  • Runner library
    • local:exec
    • local:docker
      • System overview
      • Runner flags
      • Troubleshooting
    • cluster:k8s
      • System overview
      • How to create a Kubernetes cluster for Testground
      • Monitoring and Observability
      • Understanding Testground performance on Kubernetes
      • Troubleshooting
  • Builder Library
    • docker:go
    • exec:go
    • docker:generic
Powered by GitBook
On this page
  • Linux
  • macOS via Docker for Mac
  • macOS via Docker Toolbox
  1. Table of contents

Docker Settings

Since the update to Linux Kernel 5.12.2, we can no longer modify the net.netfilter.nf_conntrack_max sys config programmatically via the Docker API. If you encounter any network related errors, please increase it to at least 120000.

Linux

The value vm_map_max_count can be permanently changed in /etc/sysctl.conf:

$ grep vm.max_map_count /etc/sysctl.conf
vm.max_map_count=120000

You can also change it via:

sysctl -w vm.max_map_count=120000

macOS via Docker for Mac

The value vm_max_map_count should be changed within the xhyve virtual machine:

$ screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty

Then, log in with root and no password and configure the sysctl setting:

sysctl -w vm.max_map_count=120000

macOS via Docker Toolbox

The value vm_max_map_count can be changed via docker-machine:

docker-machine ssh
sudo sysctl -w vm.max_map_count=120000

PreviousDebugging test plansNextFeatured projects

Last updated 3 years ago