Support Docker API 1.37
Add CONFIGS and DISTRIBUTION sections.
This commit is contained in:
parent
7da0037161
commit
8bb3bce15a
@ -4,7 +4,9 @@ EXPOSE 2375
|
||||
ENV AUTH=0 \
|
||||
BUILD=0 \
|
||||
COMMIT=0 \
|
||||
CONFIGS=0 \
|
||||
CONTAINERS=0 \
|
||||
DISTRIBUTION=0 \
|
||||
EVENTS=1 \
|
||||
EXEC=0 \
|
||||
IMAGES=0 \
|
||||
|
@ -125,7 +125,9 @@ does not need.
|
||||
|
||||
- `BUILD`
|
||||
- `COMMIT`
|
||||
- `CONFIGS`
|
||||
- `CONTAINERS`
|
||||
- `DISTRIBUTION`
|
||||
- `EXEC`
|
||||
- `IMAGES`
|
||||
- `INFO`
|
||||
@ -144,6 +146,7 @@ does not need.
|
||||
- [1.28](https://docs.docker.com/engine/api/v1.28/)
|
||||
- [1.29](https://docs.docker.com/engine/api/v1.29/)
|
||||
- [1.30](https://docs.docker.com/engine/api/v1.30/)
|
||||
- [1.37](https://docs.docker.com/engine/api/v1.37/)
|
||||
|
||||
## Feedback
|
||||
|
||||
|
@ -45,7 +45,9 @@ frontend dockerfrontend
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/auth } ! { env(AUTH) -m bool }
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/build } ! { env(BUILD) -m bool }
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/commit } ! { env(COMMIT) -m bool }
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/configs } ! { env(CONFIGS) -m bool }
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/containers } ! { env(CONTAINERS) -m bool }
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/distribution } ! { env(DISTRIBUTION) -m bool }
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/events } ! { env(EVENTS) -m bool }
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/exec } ! { env(EXEC) -m bool }
|
||||
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?/images } ! { env(IMAGES) -m bool }
|
||||
|
Loading…
Reference in New Issue
Block a user