Skip to content
CodeFloe

Container Proxy Cache

CodeFloe provides a proxy cache to common container registries, such as Docker Hub and GitHub Container Registry. This prevents rate-limiting during the use of CodeFloe CI. It also caches CodeFloe’s own container registry, so CI jobs pulling your images through it use less of your download traffic.

The proxy cache is available at cr.codefloe.com.

  • docker.io (Docker Hub)
  • ghcr.io (GitHub Container Registry)
  • codefloe.com (CodeFloe container registry, public images only)
  • codeberg.org (Codeberg container registry, public images only)

Instead of repo/image in your Dockerfile, use cr.codefloe.com/docker.io/<repo>/<image>:<tag>.

For official images like ubuntu and golang which don’t have a visible owner, specify the owner as library:

FROM cr.codefloe.com/docker.io/library/<image>:<tag>

Instead of ghcr.io/owner/image in your Dockerfile, use cr.codefloe.com/ghcr.io/owner/image.

FROM cr.codefloe.com/ghcr.io/<repo>/<image>:<tag>

codefloe.com (CodeFloe container registry)

Section titled “codefloe.com (CodeFloe container registry)”

Instead of codefloe.com/owner/image in your Dockerfile or CI configuration, use cr.codefloe.com/codefloe.com/owner/image.

FROM cr.codefloe.com/codefloe.com/<owner>/<image>:<tag>

Only the first pull of each image layer is fetched from codefloe.com and counted as download traffic of the image’s owner. Later pulls of the same layer are served from the cache and are not counted. Cached layers are kept for 30 days after their last pull.

The cache pulls anonymously, so it only works for public packages. Private images still have to be pulled from codefloe.com directly with your credentials. Tags are checked against codefloe.com on every pull, so a pushed update to a tag is picked up right away.

codeberg.org (Codeberg container registry)

Section titled “codeberg.org (Codeberg container registry)”

Instead of codeberg.org/owner/image in your Dockerfile or CI configuration, use cr.codefloe.com/codeberg.org/owner/image.

FROM cr.codefloe.com/codeberg.org/<owner>/<image>:<tag>

As with codefloe.com, the cache pulls anonymously and only works for public images. Cached layers are kept for 30 days after their last pull, and tags are checked against codeberg.org on every pull.