Stay organized with collections
Save and categorize content based on your preferences.
Issue
Solutions
When starting my application I see a 503 error.
Is your container listening for HTTP requests on port 8080? It should be---HTTP requests are routed to this port on your container.
Is your application responding to health check handlers? A well formed application should always respond to health checks. Make sure your application can respond to these requests or disable health checking in your app.yaml file.
Building my application takes a long time.
This can be caused by sub-optimal layering in your Dockerfile. When your Dockerfile is built, a layered caching system is applied that rebuilds those layers that have changed, and any subsequent layers.
We recommended that your Dockerfile be structured so that frequently changing layers are built last, so that the previously built layers can remain cached during changes. You can read more about Dockerfile syntax and best practices on the Docker user guide.
Some files are not included in my application.
docker build does not respect symlinks, so make sure you are not relying on symlinks in your application directory.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["Applications experiencing 503 errors should ensure they are listening on port 8080 and can respond to health check requests, or disable health checks."],["Long application build times can be improved by structuring the Dockerfile to place frequently changing layers last, utilizing Docker's layered caching system."],["Applications must avoid using symlinks as `docker build` doesn't recognize them, so they should be replaced with actual files or different techniques."]]],[]]