Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

docker 1.9.0-dev (ccf5b60/built Oct 16) doesn't have --default-network option #12

Closed
nak3 opened this issue Oct 18, 2015 · 3 comments
Closed

Comments

@nak3
Copy link

nak3 commented Oct 18, 2015

It might be better to report to https://github.com/docker/docker , but I will file here.

  • docker built Oct 16 on Ubuntu 15.04
    • -> No --default-network option
~/work$ uname -a
Linux knakayam-Standard-PC-i440FX-PIIX-1996 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

~/work$ docker version
Client:
 Version:      1.9.0-dev
 API version:  1.22
 Go version:   go1.4.3
 Git commit:   ccf5b60
 Built:        Fri Oct 16 19:11:01 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

Server:
 Version:      1.9.0-dev
 API version:  1.22
 Go version:   go1.4.3
 Git commit:   ccf5b60
 Built:        Fri Oct 16 19:11:01 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

$ docker -d --default-network
Warning: '-d' is deprecated, it will be removed soon. See usage.
flag provided but not defined: --default-network
See 'docker --help'.

~/work$ docker daemon -h
...
  --default-gateway=                   Container default gateway IPv4 address
  --default-gateway-v6=                Container default gateway IPv6 address
  --default-ulimit=[]                  Set default ulimits for containers
  --disable-legacy-registry=false      Do not contact legacy registries
  --dns=[]                             DNS server to use
...
  • docker built Sep 2 on Fedora 21
    • -> it has the option
# uname -a
Linux fedora21-28 4.1.8-100.fc21.x86_64 #1 SMP Tue Sep 22 12:13:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

$ docker version
Client:
 Version:      1.9.0-dev
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   8c5d511
 Built:        Wed Sep  2 16:28:58 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

Server:
 Version:      1.9.0-dev
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   8c5d511
 Built:        Wed Sep  2 16:28:58 UTC 2015
 OS/Arch:      linux/amd64
 Experimental: true

$ docker daemon -h
...
  --default-gateway-v6=                Container default gateway IPv6 address
  --default-network=                   Set default network
  --default-ulimit=[]                  Set default ulimits for containers
  --dns=[]                             DNS server to use
  --dns-search=[]                      DNS search domains to use
  -e, --exec-driver=native             Exec driver to use
...
@nak3
Copy link
Author

nak3 commented Oct 18, 2015

It has been delete by this commit moby/moby#16645

@nerdalert
Copy link
Contributor

Hi @nak3 apologies for the delay. I have been traveling. We will get support natively for IPVlan upstream soon hopefully but I will patch this in the meantime in the next day with some airplane coding :) It will be usable with just regular docker v1.9. defualt-network was deprecated as it was part of experimental. Updates shortly sir.

@nerdalert
Copy link
Contributor

Going to close this out if cool. The plugin supports v1.9 network options now. Thanks for the help!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants