I created the App Engine project locally using Docker (on OSX) and started the server using the regular gcloud preview app app.yaml command. From what I can say, this allows you to create new images over and over again. After an hour or so of work, I get something like 30 images of dockers, each of which takes 130 MB.
In the end, they told me that I can no longer communicate with localhost: 8080. I tried to kill all containers and images, but still cannot use localhost: 8080 until I reboot.
Looks like I'm not using Docker / gcloud correctly. Does anyone have an idea what can I do wrong? Is there any other way that I have to restart the App Engine instances other than the C command and run the run command again?
UPDATE: after I got closer, I noticed that I get this message when I launch the application locally and the container is created: "http: Hijack is not compatible using CloseNotifier". I'm not familiar enough with Docker to understand what is happening here. All the search queries seem to point to Go, which I am not using.
UPDATE 2: Here is the track:
Creating container... INFO 2015-05-05 02:23:28,293 containers.py:560] Container 1564ce4344957114312d6d1dc696ffbb4176b40ace6dcff5e4239e13ee04a8f6 created. Exception in thread Thread-2: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run self.__target(*self.__args, **self.__kwargs) File "/Users/judeosborn/google-cloud-sdk/platform/google_appengine/google/appengine/tools/docker/containers.py", line 643, in _ListenToLogs for line in log_lines: File "/Users/judeosborn/google-cloud-sdk/./lib/docker/docker/client.py", line 225, in _multiplexed_response_stream_helper socket = self._get_raw_response_socket(response) File "/Users/judeosborn/google-cloud-sdk/./lib/docker/docker/client.py", line 167, in _get_raw_response_socket self._raise_for_status(response) File "/Users/judeosborn/google-cloud-sdk/./lib/docker/docker/client.py", line 119, in _raise_for_status raise errors.APIError(e, response, explanation=explanation) APIError: 500 Server Error: Internal Server Error ("http: Hijack is incompatible with use of CloseNotifier") INFO 2015-05-05 02:23:28,606 module.py:1745] New instance for module "default" serving on: http://localhost:8080