Docker Remote API Filter Exited

后端 未结 3 946
猫巷女王i
猫巷女王i 2020-12-30 12:42

I see in the Docker Remote API Docs that filter can be used to filter on status but I\'m unsure how to form the request:

https://docs.docker.com/reference/api/docker

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-30 13:21

    By my reading of the docs, it should be:

    GET /containers/json?filters={"status":["exited"]}
    

    Some of that might need to be URL-encoded, though.

提交回复
热议问题