Saturday, November 10, 2018

how to put a docker on the local subnet

 so if you are like me and want to put a docker on your local subnet then all you need to do is: 

docker network create -d macvlan --subnet=<subnet> --gateway=<gateway> -o parent=<ethernet name> <docker network name> 

Example: docker network create -d macvlan --subnet= --gateway= -o parent=ens18 Local_Network

more info can be found here

No comments:

Post a Comment


so recently i have been working more with linux and i discovered tmux. now i have heard of tmux ages ago but never really used it to is full...