software:docker
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| software:docker [2020/06/21 07:16] – created Michele Porelli | software:docker [2023/04/30 15:15] (current) – Michele Porelli | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Docker sets a lot of automatic rules in your iptables. If you use a network bridge on your Linux box, you may want to change add an additional rule to avoid traffic generated on your bridge from being discarded by Docker. | Docker sets a lot of automatic rules in your iptables. If you use a network bridge on your Linux box, you may want to change add an additional rule to avoid traffic generated on your bridge from being discarded by Docker. | ||
| < | < | ||
| - | EDITOR=vim sudo -E systemctl edit docker | + | $ EDITOR=vim sudo -E systemctl edit docker |
| </ | </ | ||
| < | < | ||
| [Service] | [Service] | ||
| - | ExecStartPre=/ | + | ExecStartPre=-/ |
| - | ExecStartPre=/ | + | ExecStopPost=/ |
| + | </ | ||
| + | (the " | ||
| + | < | ||
| + | $ sudo systemctl daemon-reload | ||
| + | $ sudo systemctl restart docker | ||
| </ | </ | ||
| Remember to adjust your iptables path according to the distro you are using. | Remember to adjust your iptables path according to the distro you are using. | ||
| More details and credit [[https:// | More details and credit [[https:// | ||
| + | ==== Errors ==== | ||
| + | * Cannot remove container using ZFS volume: | ||
| + | * error: < | ||
| + | * [[https:// | ||
| + | |||
| + | |||
software/docker.1592723778.txt · Last modified: (external edit)
