Difference between revisions of "Quick solve"
From DarkWiki
(→Ubuntu) |
|||
| Line 2: | Line 2: | ||
This is a selection of problems that can be quickly solved. | This is a selection of problems that can be quickly solved. | ||
| + | |||
| + | ==Docker== | ||
| + | |||
| + | ===Auto-start instances=== | ||
| + | |||
| + | <syntaxhighlight lang="bash"> | ||
| + | docker update --restart=always <container_name> | ||
| + | </syntaxhighlight> | ||
==Ubuntu== | ==Ubuntu== | ||
Revision as of 06:15, 15 August 2018
Introduction
This is a selection of problems that can be quickly solved.
Docker
Auto-start instances
docker update --restart=always <container_name>
Ubuntu
Too many network interfaces
If the following appears in /var/log/syslog:
avahi-daemon[1113]: IP_ADD_MEMBERSHIP failed: No buffer space available
It's probably because you've too many network interfaces. This can easily happen with docker. You can check your current configured maximum using this:
sysctl net.ipv4.igmp_max_memberships
You can increase that amount using the following command:
sysctl -w net.ipv4.igmp_max_memberships=50