Docker applies -n N globally before label filter, so -n 1 with a service filter returns empty if the most-recently-created container belongs to a different service. Remove -n 1; docker ps without it sorts newest-first and the filter correctly narrows to only the target service's containers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| pom.xml | ||