How can I set the ip address of the container?

Hi,

I’ve installed docker on Oracle Linux 6.7 UEKR4 but I can’t start a container on a specific ip address, according to the log change for docker 1.1.

When I run the following command

“docker run --ip=“172.17.0.10” ubuntu ifconfig”

I get:

“flag provided but not defined: --ip
See ‘docker run --help’.”

and there is no mention of “–ip” option when I run the --help option!

Are the “new networking features for 1.1” even released yet?

Regards,
Babak.

Sorry guys, I had not installed the docker engine properly. It’s sorted now.