Docker: Difference between revisions

From Jan's Wiki
Jump to navigation Jump to search
(Created page with "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...")
 
No edit summary
Line 4: Line 4:


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
   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

Revision as of 17:53, 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