Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container reported as exited if compose files uses anchors #577

Open
2 tasks done
yewkay opened this issue Jul 29, 2024 · 0 comments
Open
2 tasks done

Container reported as exited if compose files uses anchors #577

yewkay opened this issue Jul 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yewkay
Copy link

yewkay commented Jul 29, 2024

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

If my docker compose files contains anchors the container will be reported as exited in dockge even when it's actually running
version: "3" services: base: &a1 image: container/image:latest env_file: .env ## Change this file for customized env variables volumes: - ./data/storage:/app/storage networks: - nginx-proxy rails: <<: *a1 depends_on: - postgres - redis ports: - 9100:3000 environment: - NODE_ENV=production - RAILS_ENV=production - INSTALLATION_ENV=docker entrypoint: docker/entrypoints/rails.sh command: - bundle - exec - rails - s - -p - "3000" - -b - 0.0.0.0 networks: - nginx-proxy sidekiq: <<: *a1 depends_on: - postgres - redis environment: - NODE_ENV=production - RAILS_ENV=production - INSTALLATION_ENV=docker command: - bundle - exec.....

👟 Reproduction steps

Create a compose file containing anchors

👀 Expected behavior

Dockge would report the container as active

😓 Actual Behavior

Container is reported as extied

Dockge Version

1.4.2

💻 Operating System and Arch

Linux

🌐 Browser

Chrome

🐋 Docker Version

Docker version 20.10.27

🟩 NodeJS Version

No response

📝 Relevant log output

No response

@yewkay yewkay added the bug Something isn't working label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant