i was going through the steps here 
https://docs.docker.com/engine/tutorials/networkingcontainers/  

And while trying toAdd containers to a network, the command failed. Below 
are the version:

okram@uboon:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

okram@uboon:~$ docker -v
Docker version 1.11.2, build b9f10c9

okram@uboon:~$ docker network ls
NETWORK ID          NAME                 DRIVER
c914a79a180e        bridge               bridge              
bf89c661f944        host                 host                
d781b14637a7        my-bridge-network    bridge              
b5f18f3e2293        my-bridge-network2   bridge              
48cf728009ea        none                 null                

okram@uboon:~$ docker run -d --network=my-bridge-network --name db 
training/postgres
flag provided but not defined: --network
See 'docker run --help'.

okram@uboon:~$ docker run -d --network=my-bridge-network2 --name db 
training/postgres
flag provided but not defined: --network
See 'docker run --help'.


What is wrong with the command? is something deprecated?

-- 
You received this message because you are subscribed to the Google Groups 
"docker-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to docker-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to