Skip to content

v0.9.21

Latest

Choose a tag to compare

@jorgepb96 jorgepb96 released this 01 Dec 22:29
db836cb

Docker registry authentication

Statainer can reuse an existing Docker config.json to check for image updates and pull images from authenticated registries. The optional Compose override mounts the file read-only. Registry authentication is useful for Docker Hub pull quotas and for private registries.

docker compose -f docker-compose.yml -f docker-compose.registry-auth.yml up -d statainer

The override uses $HOME/.docker/config.json by default. Set DOCKER_REGISTRY_CONFIG_FILE for a different file on the Docker host. See the setup instructions for credential helpers and file-based credentials.

This release also includes the RepoCloud one-click deployment link from #28. Registry authentication was added in #30, which closes #29.

Verification

The full Python suite passed (100 tests). A private registry test confirmed that Statainer detected and applied an image update with the read-only credential mount.

Docker images

  • drakonis96/statainer:v0.9.21 and :latest
  • drakonis96/dockerstats:v0.9.21 and :latest

Multi-arch: linux/amd64, linux/arm64.