Skip to content

host shares the same network with container cant have second container #20

@fatjoni

Description

@fatjoni

Hello,

I am trying to create a pptp connection through a base ubuntu image ( docker run -d -it --net=host --name ubuntu2 ubuntu:18.04) and everything works only if i use net=host. The problem that arises is that the host gets to share vpn connection too. Thus i cannot create a second docker in the same host. They conflict with each other. Is there any way i can install in my host (ubuntu 17.10) docker 1.3 that you mentioned cuz it seems old and i can't find anywhere any manual how i can do it. Or how can i isolate the network to be only inside the container? Please let me know cuz it is really important for me. Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions