This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://stackoverflow.com/questions/2517190/how-do-i-force-git-to-use-lf-instead-of-crlf-under-windows#comment2513978_2517190 | |
| git config --global core.autocrlf false | |
| git config --global core.eol lf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://github.com/rancher/k3s/issues/24 | |
| firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 1 -i cni0 -s 10.42.0.0/16 -j ACCEPT | |
| firewall-cmd --permanent --direct --add-rule ipv4 filter FORWARD 1 -s 10.42.0.0/15 -j ACCEPT | |
| firewall-cmd --reload | |
| https://github.com/coredns/coredns/issues/2693 | |
| update-alternatives --set iptables /usr/sbin/iptables-legacy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.tecmint.com/install-upgrade-kernel-version-in-centos-7/ | |
| https://ma.ttias.be/centos-7-networkmanager-keeps-overwriting-etcresolv-conf/ | |
| https://forums.docker.com/t/some-way-to-clean-up-identify-contents-of-var-lib-docker-overlay/30604/26 | |
| docker system prune --all --volumes --force | |
| fs.inotify.max_user_watches = 1048576 | |
| https://serverfault.com/questions/984066/too-many-open-files-centos7-already-tried-setting-higher-limits |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run docker/compose:1.24.0 version | |
| docker run --rm \ | |
| -v /var/run/docker.sock:/var/run/docker.sock \ | |
| -v "$PWD:$PWD" \ | |
| -w="$PWD" \ | |
| docker/compose:1.24.0 up | |
| echo alias docker-compose="'"'docker run --rm \ | |
| -v /var/run/docker.sock:/var/run/docker.sock \ |