dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

No container shown in docker ps -a

Open Cohvir opened this issue 3 weeks ago • 1 comments

To Reproduce

  1. Install Dokploy
  2. Deploy apps and DBs

Current vs. Expected behavior

Current: Execute "docker ps -a" to show all the containers: nothing is there (it used to be at the start!) even though all the services are running as expected (Dokploy, apps, DBs) and are accessible.

Expected: Executing "docker ps -a" will show the running containers.

Provide environment information

Operating System:
OS: Ubuntu Server 24.04 LTS
Arch: x86_64
Dokploy version: 0.18.2
VPS Provider: none, locally hosted
Deployed applications: NextJS App, Database, NodeJS App

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

Docker

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

Same server where Dokploy is installed

Additional context

I did reboot the system.

Here's some extra context:

docker service ls
Returns:

Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.

docker volume ls
Returns:

DRIVER    VOLUME NAME

docker network ls
Returns:

NETWORK ID     NAME      DRIVER    SCOPE
d81a38cf371e   bridge    bridge    local
f7749446e685   host      host      local
38a015717a0f   none      null      local

docker service rm dokploy dokploy-traefik dokploy-postgres dokploy-redis
Returns:

Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.

Will you send a PR to fix it?

No

Cohvir avatar Feb 09 '25 22:02 Cohvir