Hi,
I’m trying to get a list of all containers with health check command which are starting up. According to the documentation I tried the following command
docker ps -f health=starting
Unfortunately this doesn’t seem to be working:
docker ps -f health=starting
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Just displaying all containers show the container has a health and is starting up>
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3b4d3ac1fc81 3dbf70913a12 "httpd-foreground" 16 seconds ago Up 15 seconds (health: starting) 80/tcp httpd
On the other hand filter for healthy or unhealthy containers works. Is this a bug or am I missing something?