SiteHost

Frequently Asked Questions :: Containers

My Container is Endlessly Restarting?

If a container is using a custom image and it is endlessly restarting, the most likely cause of this is that your application failed to start. We recommend using a process control system such as Supervisord. This will allow you to configure extra logging, which will help debug why your application cannot start.

This is most likely due to:

  • Incorrect mount points.
  • Incorrect file/folder permissions.
  • Invalid paths used inside the container.
  • Problems due to misconfiguration of your application.

I Cannot Access My Container Over HTTP/HTTPS?

If your custom image type is www we will automatically forward the request to the first exposed port you have configured in your manifest.yml file.

For custom images using the type service or application, we recommend publishing the port so you can connect directly to your application.