OpenAICloudflare Developer PlatformMar 24, 2026, 12:00 AM

Containers - Use Docker Hub images with Containers

A condensed section focused on the key takeaways first.

Original Post

Quick Digest

Summary

A condensed section focused on the key takeaways first.

openaienmodel: gpt-5-mini-2025-08-07

Containers: Use Docker Hub images with Wrangler

Key Points

  • Use docker.io image refs in Wrangler
  • Private Docker Hub images supported
  • No need to push to Cloudflare Registry

Summary

Cloudflare Containers now accept Docker Hub images directly. You can put a fully qualified Docker Hub image reference in your Wrangler configuration and run containers without first pushing the image to Cloudflare Registry.

Key Points

  • Reference a Docker Hub image in your wrangler.json / wrangler.toml using the fully qualified name, e.g. docker.io/<NAMESPACE>/<REPOSITORY>:<TAG>.
  • Private Docker Hub images are supported; configure credentials as described in the "Use private Docker Hub images" docs and consult "Image management" for additional options.
  • Existing Cloudflare Registry workflows remain supported — this adds the option to pull directly from Docker Hub. Avoid using ambiguous tags (e.g., latest) for predictable deployments.

Full Translation

Translations

A translation section that keeps the flow of the original article.

openaijamodel: gpt-5-mini-2025-08-07

Containers — Docker Hub イメージを使用する

Containers — Docker Hub イメージを使用する

Containers は Docker Hub ↗ のイメージをサポートするようになりました。Wrangler の設定で、まずイメージを Cloudflare Registry にプッシュする代わりに、完全修飾の Docker Hub イメージ参照を使用できます。

ポイント

  • Docker Hub の公開イメージを直接参照できます(例: docker.io/<NAMESPACE>/<REPOSITORY>:<TAG>)。
  • プライベートな Docker Hub イメージもサポートしています。認証情報の設定方法は下記参照。

設定例

wrangler.jsonc

{
  "containers": [
    {
      // Example: docker.io/cloudflare/sandbox:0.7.18
      "image": "docker.io/<NAMESPACE>/<REPOSITORY>:<TAG>",
    },
  ],
}

wrangler.toml

[[containers]]
image = "docker.io/<NAMESPACE>/<REPOSITORY>:<TAG>"

プライベートイメージ

Containers はプライベートな Docker Hub イメージもサポートします。認証情報の設定については「Use private Docker Hub images」を参照してください。詳細な運用や設定は「Image management」を参照してください。