The container networking behavior can't be modified by the SDK. This is 
managed by the backend when the host VM is provisioned. It may be 
technically possible to SSH into the host VM in user-managed mode 
<https://cloud.google.com/appengine/docs/flexible/python/connecting-to-an-instance-with-ssh>,
 
but this would need to be done manually each time a new VM instance is spun 
up and would not be practical. You would be much better off using a 
standard Compute Engine instance where you can tailor Docker to your 
specific needs.

It's not likely that this would be supported on App Engine Flex, as it can 
cause problems like allowing the container to reboot the host VM 
<https://github.com/docker/docker/issues/6401>, and is also not supported 
in Container Engine due to it being considered an anti-pattern 
<https://groups.google.com/forum/#!topic/google-containers/gnPVt0f8nLM>, 
among other things. With that being said, you are free to open a feature 
request for this on the issue tracker 
<https://code.google.com/p/googleappengine/issues/list>.

On Thursday, April 28, 2016 at 2:39:54 PM UTC-4, pankaj kumar wrote:
>
> It seems aws does not support it either: 
> https://webcache.googleusercontent.com/search?q=cache:9c6QEoKcS3gJ:https://forums.aws.amazon.com/thread.jspa%3FthreadID%3D177850+&cd=1&hl=en&ct=clnk&gl=us
>
> Is it possible to change some code somewhere in the sdk to enable 
> --net=host? Or is it possible to access the host machine in a clean way to 
> run some commands and create a virtual ethernet adapter and link it to the 
> docker instance?
>
> Thanks
>
>
> On Wednesday, April 27, 2016 at 10:00:00 PM UTC-7, pankaj kumar wrote:
>>
>> Docker has this --net=host parameter which will enable host networking. 
>> The container gets ip address same as the host. Can we have that in the 
>> google app engine? That way services like nfs on the same network that need 
>> to connect to the client can be utilized in the container. 
>>
>> On Wednesday, April 27, 2016 at 6:33:48 PM UTC-7, pankaj kumar wrote:
>>>
>>> I am trying to mount a nfs share onto a app engine container. Everything 
>>> seems to work other than the fact that the container has a 172.* ip address 
>>> and the default network is a 10.* ip address. Is there a way to set 
>>> networking in the containers to get the same 10.* ip address? (Bridged vs 
>>> nat or something?)
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7c0f6785-aceb-47d5-b7c7-634c38d28218%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to