write_files:
- path: "/etc/sysctl.d/net.conf"
content: net.core.somaxconn=1024
- path: "/etc/sysctl.d/vm.conf"
content: vm.overcommit_memory=1
coreos:
units:
- name: docker-tcp.socket
command: start
runtime: false
content: |
[Unit]
Description=Docker Socket for the API
[Socket]
ListenStream=2375
Service=docker.service
BindIPv6Only=both
[Install]
WantedBy=sockets.target
- name: docker.service
command: start
- name: systemd-sysctl.service
command: restart
Last active
March 14, 2016 19:39
-
-
Save mvlwn/4af8e3630bc943094a94 to your computer and use it in GitHub Desktop.
CoreOS Redis net config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment