Railway Infrastructure Error — Container Fails During Create Container With No Logs
lorvenagroup
HOBBYOP

19 days ago

Railway Infrastructure Error — container fails during Create container with no logs

Hello,

I’m experiencing a repeated deployment failure on a Docker-based service using the postgres:16-alpine image.

Railway’s built-in Diagnosis classifies the failure as:

Infrastructure Error

The deployment fails specifically at:

Deploy > Create container

Error shown:

“Failed to start deployment.”

There are no build logs or deploy logs produced.

Railway Diagnosis also reports that the identical image, start command, and variables had succeeded on a deployment just minutes earlier.

I retried/redeployed the service multiple times, but the same infrastructure-level failure continues during container creation.

The service uses:

  • Docker image: postgres:16-alpine
  • Custom Start Command
  • Environment variables
  • No application/build logs are generated because the container does not reach the startup stage.

Could you please advise whether this is a Railway infrastructure/container provisioning issue and what the recommended next step is?

For security reasons, I have not included database credentials, environment variable values, or other secrets.

Thank you.

Solved

3 Replies

Status changed to Awaiting Railway Response Railway • 19 days ago


Railway
BOT

19 days ago

We can see the deployment failing at Create Container in about 6 seconds with no logs produced. No platform incident or host maintenance event was affecting your service at that time. For image-sourced services in this state, open the service, press Cmd+K (Ctrl+K on Windows/Linux) to open the command palette, and select "Redeploy source image" to pull a fresh copy of the image.


Status changed to Awaiting User Response Railway • 19 days ago


lorvenagroup
HOBBYOP

19 days ago

Thanks for the response.

I followed the recommended step exactly: I opened the affected service and used “Redeploy source image” from the command palette to pull a fresh copy of the postgres:16-alpine image.

Unfortunately, the new deployment failed again during the container creation/initialization stage. The service still does not reach application startup.

Could you please investigate the new failed deployment on Railway's side and advise on the next step?

I will not make further configuration changes until we know whether the failure is related to image pulling, container provisioning, networking, or the service configuration.

Thank you.


Status changed to Awaiting Railway Response Railway • 19 days ago


19 days ago

The deployment's error log shows the OCI runtime cannot find the executable because the start command contains literal triple-backtick characters (markdown code fences) wrapping the actual shell command. The container runtime tries to run a file named with those backticks, which does not exist.

Open the service's settings, find the start command field, and remove the triple backticks from both the beginning and the end. The command should start directly with /bin/sh -c and not be wrapped in any markdown formatting.


Status changed to Awaiting Railway Response Railway • 19 days ago


Status changed to Awaiting User Response Railway • 19 days ago


Railway
BOT

12 days ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway • 12 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...