Create a new docker network and assign a network interface


Recommended Posts

Hi Everyone,

 

I am aware that I can use the Pipework docker to assign an IP from an interface to the container.

 

My question is that is it possible to create a docker network "mynetwork" and assign say eth2 to it so that it is isolated from the default docker network.

 

Has anyone done this successfully?

 

Thank you in advance.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.