I am trying to create a container using the following command. However the container is getting created but it is not taking the allocated IP address. Can you please help in this?
Being able to post to launchconfigs at all is a bug… if you’re trying to create a service then it should be going to /v1/services (or /v1/projects/<id>/services), and the launchConfig is a property of it. For a stand-alone contanerin /v1/containers. Requested IP is also only requested; if there is another container already using that IP you’ll get a random one.
Thanks for the reply. When trying to create from /v1/containers we are getting an option for “Requested IP Address”. We are providing an IP address which is not been used. The generated request is drafting as the above command with “requestedIpAddress”:“10.42.150.150” as requested IP address. We have also tried with “requested”:10.42.206.206 also. The containers is getting created and all parameters given is verified to be working fine (Ex-“dataVolumes”:["/opt:/opt/softwares"] ). Only the container is not taking the allocated IP. Is there any round way to do this?