Docker: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
and create new | and create new | ||
docker network create -d macvlan --gateway 172.16.0.1 --ip-range 172.16.0.32/27 --subnet 172.16.0.0/24 publicnet -o parent=lxcbr1 | docker network create -d macvlan --gateway 172.16.0.1 --ip-range 172.16.0.32/27 --subnet 172.16.0.0/24 publicnet -o parent=lxcbr1 | ||
docker network create -d bridge public20 --subnet 172.20.0.0/16 | |||
Revision as of 17:58, 14 January 2018
Networking sometimes stops working just delete the old
docker network rm publicnet
and create new
docker network create -d macvlan --gateway 172.16.0.1 --ip-range 172.16.0.32/27 --subnet 172.16.0.0/24 publicnet -o parent=lxcbr1
docker network create -d bridge public20 --subnet 172.20.0.0/16