-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Description
Description
Hello,
Before 28.0.0 it was possible to get the name of services in swarm.
[root@test MT-TEST ~]# docker service ps TEST <TAB> <TAB>
TEST-am-core_app TEST-dss_api
With 28.0.0 it is only possible with the ID
[root@test MT-TEST ~]$ docker service ps <TAB> <TAB>
0gn1cz6chgirxetm14x4vc45i 5ia844aen90050a20db1ubk5v
Same with docker node update .... and some other commands
See also: moby/moby#49500 (comment)
Reproduce
- Install 28.0.0
- Run
docker service ps <TAB> <TAB> - Get only IDs and no names
Expected behavior
Get the names of the services as it is not easy to correlate service ids with more than 20 services
docker version
Client: Docker Engine - Community
Version: 28.0.0
API version: 1.48
Go version: go1.23.6
Git commit: f9ced58
Built: Wed Feb 19 22:12:16 2025
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 28.0.0
API version: 1.48 (minimum version 1.24)
Go version: go1.23.6
Git commit: af898ab
Built: Wed Feb 19 22:10:35 2025
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.7.25
GitCommit: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc:
Version: 1.2.4
GitCommit: v1.2.4-0-g6c52b3f
docker-init:
Version: 0.19.0
GitCommit: de40ad0docker info
Client: Docker Engine - Community
Version: 28.0.0
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.21.0
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.33.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
Server:
Containers: 30
Running: 29
Paused: 0
Stopped: 1
Images: 21
Server Version: 28.0.0
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: false
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
Swarm: active
NodeID: lhcuyd4kycj1vpt6f9uqrd8kl
Is Manager: true
ClusterID: aq9xspqxyxg8nje26kpkkptk1
Managers: 3
Nodes: 3
Default Address Pool: 10.0.0.0/8
SubnetSize: 24
Data Path Port: 4789
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 10
Dispatcher:
Heartbeat Period: 30 seconds
CA Configuration:
Expiry Duration: 3 months
Force Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
Node Address: 129.27.124.140
Manager Addresses:
129.27.124.135:2377
129.27.124.140:2377
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: bcc810d6b9066471b0b6fa75f557a15a1cbf31bb
runc version: v1.2.4-0-g6c52b3f
init version: de40ad0
Security Options:
seccomp
Profile: builtin
cgroupns
Kernel Version: 5.15.0-305.176.4.el9uek.x86_64
Operating System: Oracle Linux Server 9.5
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 11.24GiB
Name: TEST
ID: 66cbbeea-c234-4a26-9346-584e4ef34026
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
::1/128
127.0.0.0/8
Live Restore Enabled: falseAdditional Info
Thx for the nice work you are doing.