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=192.168.0.0/24 --gateway=192.168.0.1 -o parent=ens18 Local_Network

more info can be found here

No comments:

Post a Comment

tmux

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