Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente |
| docker:accueil [2026/03/09 21:07] – add how to setup a registry (mirror) phsw | docker:accueil [2026/03/16 22:26] (Version actuelle) – add how to get rate-limit current status phsw |
|---|
| * [[https://tbhaxor.com/docker-containers-security/#__do_not_save__|Docker Containers Security]] | * [[https://tbhaxor.com/docker-containers-security/#__do_not_save__|Docker Containers Security]] |
| * [[https://danlevy.net/docker-security-tips-for-self-hosting/|Essential Docker Security Tips for Self-Hosting]] | * [[https://danlevy.net/docker-security-tips-for-self-hosting/|Essential Docker Security Tips for Self-Hosting]] |
| | * [[https://blog.px.dev/container-filesystems/|Where are my container's files? Inspecting container filesystems]] |
| |
| |
| <code bash> | <code bash> |
| curl http://docker-mirror.homelab:5000/v2/_catalog | jq | curl http://docker-mirror.homelab:5000/v2/_catalog | jq |
| | </code> |
| | |
| | |
| | ==== Connaître l'état du rate-limit du Docker Hub ==== |
| | |
| | <code bash> |
| | TOKEN=$(curl --silent "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq --raw-output .token) |
| | curl --head --header "Authorization: Bearer $TOKEN" "https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest" 2>&1 | grep --ignore-case RateLimit |
| </code> | </code> |
| |