Commit Graph

67 Commits

Author SHA1 Message Date
bergware e1e912586f Docker: fix WG routes added to the correct interface (br0 or eth0) 2023-12-27 22:51:33 +01:00
bergware a9daf52b33 Docker / VM: avoid unnecessary writes to flash device 2023-12-13 13:01:40 +01:00
bergware 5ac608b43f rc scripts: insert short delay before checking running status 2023-10-14 10:14:25 +02:00
bergware e738565d54 scripts dutchification - batch 1 2023-10-04 19:31:51 +02:00
bergware 92c32adca5 scripts dutchification - batch 1 2023-10-04 19:15:24 +02:00
bergware fe1cc8fdef scripts dutchification - batch 1 2023-10-03 05:45:57 +02:00
bergware 6dd5a6b772 scripts dutchification - batch 1 2023-10-01 22:42:28 +02:00
bergware 807060d7eb scripts dutchification - batch 1 2023-10-01 22:24:19 +02:00
bergware 9e6fd22d8a scripts dutchification - batch 1
- includes fix for docker ipv6 used by containers
2023-10-01 14:01:59 +02:00
Christoph Hummer 3cda86d099 Update rc.docker
- kill containers which are still running before stopping dockerd gracefully
2023-09-25 20:28:06 +02:00
Christoph Hummer cb513ed29b Update rc.docker
- add user defined Docker timeout to stop_containers function
- kill running containers and dockerd after 15 seconds in stop_docker function
2023-09-25 19:53:42 +02:00
ljm42 4eea535841 Add more logging when stopping docker 2023-09-13 15:32:27 -07:00
bergware 1d5b9f5d0a rc.docker: IPv6 enhancement 2023-08-24 13:44:10 +02:00
bergware 2818af86a3 rc.docker: remove IPv6 from shim/vhost interface 2023-08-24 12:06:00 +02:00
bergware 68ab454ea2 rc.docker: remove IPv6 from shim/vhost interface
Some routers are incompatible.
2023-08-24 11:08:55 +02:00
bergware 6be8cd6482 rc.docker: minor code refactoring 2023-08-23 10:55:31 +02:00
bergware e1beeb022e Update rc.docker 2023-08-22 15:42:28 +02:00
bergware f19d9de65a shim interface gets MAC address of parent, no need to generate one 2023-08-22 15:39:36 +02:00
bergware e6b39b7806 shim interface gets MAC address of parent, no need to generate one 2023-08-22 15:38:34 +02:00
bergware a12e07cd00 docker: add routing when shim network is used 2023-08-22 14:16:58 +02:00
bergware 4f9cd26c7c docker: add routing when shim network is used 2023-08-22 14:01:18 +02:00
bergware d887f58402 docker: add routing when shim network is used 2023-08-22 13:45:49 +02:00
bergware f5740d2b3c docker: add routing when shim network is used 2023-08-22 13:39:40 +02:00
bergware 27cf4415c0 docker: add routing when shim network is used 2023-08-22 13:31:58 +02:00
bergware 3a60e081c7 docker: add routing when shim network is used 2023-08-22 13:13:07 +02:00
bergware 55406f2925 docker: add routing when shim or macvtap network is used 2023-08-22 11:08:30 +02:00
bergware a2977821ae docker: add routing when shim or macvtap network is used 2023-08-22 09:11:37 +02:00
bergware 472375d532 docker: fix routing when shim network is used 2023-08-22 08:45:21 +02:00
bergware 81073be813 rc.docker: updated docker network removal 2023-08-18 10:38:20 +02:00
bergware 9efdcd14fc rc.docker: updated docker network removal 2023-08-18 10:33:04 +02:00
bergware d9d67df948 rc.docker: updated shim network removal 2023-08-18 10:25:41 +02:00
bergware 106cccc8f7 rc.docker: disable IPv6 on shim interface when not in use 2023-08-17 23:35:02 +02:00
bergware 21f50f1c81 Simplified shim interface creation
When bridging enabled:
- Create shim interface which is attached to bridge interface
- Copy parent address to shim interface with lower metric to allow host access
- More specific routes are no longer created

When bridging disabled:
- Copy parent address to vhost interface with lower metric to allow host access
2023-08-17 21:48:06 +02:00
bergware 9899645b25 Minor code optimization 2023-08-17 11:27:28 +02:00
bergware a007b026d4 vhost and shim network: assign predefined MAC address
Make MAC addresses unique per system
2023-08-15 23:05:11 +02:00
bergware 34444b4ffb vhost and shim network: assign predefined MAC address
- This prevents the MAC address changing with each system reboot, and is useful when port forwarding is needed
2023-08-15 19:47:46 +02:00
bergware 2f396ccb68 Remove ipv6 host addresses from list 2023-08-13 13:33:25 +02:00
bergware c90c7ade0e Remove ipv6 host addresses from list 2023-08-13 13:13:56 +02:00
bergware cc4b6334fd rc.docker: update comments 2023-08-13 12:51:38 +02:00
bergware b5d91a968f Update rc.docker 2023-08-11 02:35:00 +02:00
bergware a4f45751da Update rc.docker 2023-08-11 02:18:31 +02:00
bergware aeda05bed7 Make bridge / macvtap selection per physical interface 2023-08-10 22:08:04 +02:00
bergware 180c4c2e91 Re-introduce macvlan / ipvlan selection when bridge is enabled 2023-08-10 03:26:04 +02:00
bergware 3635320d14 New vhost network for both containers and VMs 2023-08-09 20:38:17 +02:00
bergware f8d6560b79 New vhost network for both containers and VMs
User can enable / disable bridging to change network behavior.
Containers and VMs are automatically updated to the new network settings
2023-08-09 19:36:00 +02:00
bergware a734929342 Revert "Revised networking and docker macvlan usage"
This reverts commit 29ebdd8a9c.
2023-08-08 19:40:42 +02:00
bergware 1b8f4bf805 Revert "Revised networking and docker macvlan usage"
This reverts commit 9f45678748.
2023-08-08 19:40:29 +02:00
tom mortensen 76b499283a Merge pull request #1403 from unraid/debug-docker
add more logging when stopping dockerd
2023-08-08 08:05:04 -07:00
bergware 9f45678748 Revised networking and docker macvlan usage 2023-08-08 15:12:24 +02:00
bergware 29ebdd8a9c Revised networking and docker macvlan usage
- Create new interface(s), names macvlan as macvlan networks
- Attach docker macvlan to newly created macvlan network instead of interface
2023-08-08 09:10:08 +02:00