machine icon indicating copy to clipboard operation
machine copied to clipboard

Azure driver, how to specify --virtual-network-name --subnet-names

Open roldancer opened this issue 11 years ago • 28 comments

Hi, I don't know if this place is the right place for "How to" questions ...

I would like to create my VM on Azure but on a specific network, I use the following parameters in the Azure cli for linux "azure vm create --virtual-network-name ... --subnet-names ...."

Is there any way to specify those parameters using the Azure driver ?

Thanks and sorry if I posted this question in the wrong place...

roldancer avatar Feb 06 '15 18:02 roldancer

Right place I guess, but we don't allow users to specify them yet.

sthulb avatar Feb 06 '15 18:02 sthulb

Is there any plan to add those parameters ?, I'm asking this because wihtout those parameters is not possible to deploy a docker runtime on a private network, I mean VPN.

roldancer avatar Feb 06 '15 19:02 roldancer

Thanks for reporting. I would imagine this would be a good thing. /cc @jeffmendoza

On Fri, Feb 6, 2015 at 2:19 PM, Cristian [email protected] wrote:

Is there any plan to add those parameters ?, I'm asking this because wihtout those parameters is not possible to deploy a docker runtime on a private network

— Reply to this email directly or view it on GitHub https://github.com/docker/machine/issues/496#issuecomment-73295982.

ehazlett avatar Feb 07 '15 21:02 ehazlett

Agreed, these would be good. I'll see what we can do.

jeffmendoza avatar Feb 09 '15 18:02 jeffmendoza

+1

cascadian avatar Apr 24 '15 22:04 cascadian

/cc @ahmetalpbalkan

ehazlett avatar Apr 27 '15 20:04 ehazlett

@ehazlett duly noted. I was expecting this request to come. Let's keep in the backlog. Thanks for labeling.

ahmetb avatar Apr 27 '15 21:04 ahmetb

@ahmetalpbalkan thanks!

ehazlett avatar Apr 28 '15 01:04 ehazlett

+1

otaviocarvalho avatar Sep 02 '15 19:09 otaviocarvalho

+1

nashasha1 avatar Oct 23 '15 08:10 nashasha1

@ahmetalpbalkan @jeffmendoza bump :)

dmp42 avatar Oct 23 '15 16:10 dmp42

@dmp42 I'll be rewriting docker-machine with the newly released Azure REST APIs soon. Taking that as a feature request for that. :)

ahmetb avatar Oct 23 '15 16:10 ahmetb

@ahmetalpbalkan \o/

dmp42 avatar Oct 23 '15 17:10 dmp42

bump!!!!

bitsofinfo avatar Nov 13 '15 16:11 bitsofinfo

Bump :D

j4fm avatar Jan 06 '16 14:01 j4fm

Any news on this? I'd like to setup a Consul cluster on Azure and connect with private IP addresses. Therefore it should be great to have this enhancement :+1: :)

Best regards, Jens

jensbruggeman avatar Jan 10 '16 09:01 jensbruggeman

@bitsofinfo @jamesmeen @jensbruggeman Hi folks (and those who are planning to +1 afterwards), I recently got busy with some other projects but rewriting the Azure driver is definitely on my list and I'd like to take a look at that in the next month or so.

I am hoping to be add support for virtual network, private IP addresses and such features.

ahmetb avatar Jan 11 '16 19:01 ahmetb

+1 At this moment I couldn't setup a docker-swarm cluster with docker-machine because the hosts seems to not be able to talk to each other. This proposal should fix it

rafabene avatar Jan 27 '16 16:01 rafabene

+1

I would like some way to send arbitrary flags to the azure vm create-command (I assume) is run by the azure-driver of docker-machine create. In my case I want to be able to specify a static private IP (the -S/--static-ip flag) to the machines I'm creating for the swarm managers and the consul instances.

So, something like the existing --engine-opt but for the driver instead (--driver-opt).

jotunskij avatar Feb 16 '16 13:02 jotunskij

@jotunskij are you aware of any other machine driver for cloud provider that lets you specify a static private IP address?

ahmetb avatar Feb 17 '16 19:02 ahmetb