Skip to content

Deploy fails with "No such container: select-a-container" after Nixpacks build completes #3753

Description

@ShaonPro

To Reproduce

select-a-container error during normal Deploy (not Open Terminal), right after Nixpacks build completes, for Application (Nixpacks) deployments.

Current vs. Expected behavior

Current behavior

  • Click Deploy on an Application (Nixpacks).
  • Build completes successfully (Nixpacks build completed).
  • Deployment fails with: Error response from daemon: No such container: select-a-container
  • No Swarm service is created; the app never runs.

Expected behavior

  • Click Deploy on an Application (Nixpacks).
  • Build completes successfully.
  • Dokploy creates the Swarm service using the correct container/service name (e.g. mern-drivlex-3j6zc6).
  • The app starts and is reachable via its domain.

Provide environment information

Operating System:
   OS: Ubuntu 22.04 LTS
   Kernel: 6.8.0-100-generic

Dokploy version: 0.27.1

Which area(s) are affected? (Select all that apply)

Docker Compose, Application, Docker

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

No response

Will you send a PR to fix it?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions