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

docker node ls --format "{{.TLSStatus}}" returns ready for down nodes #1506

Open
5andr0 opened this issue Nov 13, 2024 · 0 comments
Open

docker node ls --format "{{.TLSStatus}}" returns ready for down nodes #1506

5andr0 opened this issue Nov 13, 2024 · 0 comments

Comments

@5andr0
Copy link

5andr0 commented Nov 13, 2024

Reproduce: join and leave swarm to have some down nodes

docker node ls -f name=docker-desktop
ID                            HOSTNAME         STATUS    AVAILABILITY   MANAGER STATUS   ENGINE VERSION
b7m2prjgbv98n0frxru9zuto5     docker-desktop   Down      Active                          27.3.1
by2jcqif3yrve1iajdbo19x1h     docker-desktop   Ready     Active                          27.3.1
crd0h13vpl69yamd54l9wha2a     docker-desktop   Down      Active                          27.3.1
ilxt8w5j68bq9wyzz45mp1vos     docker-desktop   Down      Active                          27.3.1
nzop5580vem8g6d6ptxsrrsmk     docker-desktop   Down      Active                          27.3.1
twjeduiiovlwpqlk4tj58gdak     docker-desktop   Down      Active                          27.3.1
zolwt3irxostblw9cmnhh3a54     docker-desktop   Down      Active                          27.3.1
docker node ls -f name=docker-desktop --format "{{.ID}} {{.TLSStatus}}"
b7m2prjgbv98n0frxru9zuto5 Ready
by2jcqif3yrve1iajdbo19x1h Ready
crd0h13vpl69yamd54l9wha2a Ready
ilxt8w5j68bq9wyzz45mp1vos Ready
nzop5580vem8g6d6ptxsrrsmk Ready
twjeduiiovlwpqlk4tj58gdak Ready
zolwt3irxostblw9cmnhh3a54 Ready

Expected output: only one ready node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant