Why my Private Spaces app on Container Registry & Runtime ignores heroku.yml


I have an app in Private Space built on Container Registry & Runtime. The app has one or more Dockerfiles for each process type as well as the heroku.yml file with which the run secion defines commands to be started on each process type.

However, looking into the app logs, it seems that the platform is running the command defined in CMD line on Dockerfile or an empty process that immediately exits with status 0 when CMD is not defined.


Unfortunately, Private Spaces doesn't honor the run section in heroku.yml file yet. Instead, the platform looks up the command defined as CMD in Dockerfile. Please define the process to run there.

If there are more than one process type for the app, heroku.yml needs to list corresponding Dockerfiles like:

    web: Dockerfile
    worker: Dockerfile.worker

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support