PROBLEM DESCRIPTION
I am trying to create a custom managed VM for Google App Engine that behaves identically to the standard python27 managed VM pro
UPDATE
THIS MAY NO LONGER BE ACCURATE. SEE NICK'S ANSWER.
(Though I could not get that working. But I did not try very hard)
There is a completely undocumented but absolutely essential piece of information w.r.t. custom managed VMs:
THEY CANNOT BE RUN ON THE DEVELOPMENT SERVER!
If you think this crucial fact would be mentioned anywhere sane, like say, the documentation page for custom managed VMs, or for dev_appserver.py, or even as an error message when running dev_appserver.py, then you are giving Google far too much credit.
The only place where I can find any kind of statement about this is in the Readme file of the appengine-java-vm-guestbook-extras demo on github (seriously):
The Cloud SDK does not support anymore running custom runtimes when a Dockerfile is provided. You'll have to deploy the application to App Engine
Google does not care to:
I hope this answer saves some sorry developer from the days of torment I suffered because of this.