Setting Default Gateway to a container

Just thought I would update this for people that want this to persist across reboots, save the following to /etc/systemd/network/10-NAMEOFDOCKERINTERFACE.network:

[Match]
#Set this to the interface that you want the route added to eg: br-3de204ae1471
Name=NAMEOFDOCKERINTERFACE

[Network]
#Set the address to the IP of the interface above
Address=172.19.0.1
#Set this to the default gateway
DNS=172.19.0.100

[Route]
Table=200
#Set this to the default gateway
Gateway=172.19.0.100

[RoutingPolicyRule]
Table=200
#Set this to the subnet you want to route via the gateway above
From=172.19.0.0/16

[RoutingPolicyRule]
To=172.19.0.100
Table=200