Skip to content

--net=host broken in windows client (starting a linux container) #14615

@mitchcapper

Description

@mitchcapper

I noticed some changes committed recently around the windows network code that may have broken this. Running a container like:
docker run -t -i --net=host ubuntu bash
returns: docker: --net: invalid net mode: invalid --net: host.
in windows
but in linux you get the proper behavior of the container starting.

info:
Client:
Version: 1.8.0-dev
API version: 1.20
Go version: go1.4.2
Git commit: b58565e
Built: Sun Jul 12 21:13:50 UTC 2015
OS/Arch: windows/amd64

Server:
Version: 1.8.0-dev
API version: 1.20
Go version: go1.4.2
Git commit: 5ca3e7c
Built: Tue Jul 14 01:16:14 UTC 2015
OS/Arch: linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions