Sample App for Docker

We provide a sample app using Docker that you can deploy on App Platform.

To try it out, fork the Docker GitHub repository to your account so that you have a copy of it stored to the cloud.

Then, create an app using your fork of this repo as the source. App Platform will inspect the code, automatically detect the kind of component to create, and use the correct buildpack to create and deploy a container. From there, you can push changes to your fork and see App Platform automatically re-deploy the update to your app.

The README file in the root of the sample app’s repository has full instructions on how to run this particular sample, including any configuration details you may need to adjust, how to make changes and instantly see them live, and lifecycle management information.


  • App Platform treats /var/run as a special path and avoids extracting it from base Docker images. This may cause errors with some builds. To resolve, restore /var/run in the form that is expected by the base image. For example, with Alpine Linux base images: RUN test -e /var/run || ln -s /run /var/run