-
Notifications
You must be signed in to change notification settings - Fork 12.9k
[Containers] Document Docker Hub image support #29092
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: production
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| --- | ||
| title: Use Docker Hub images with Containers | ||
| description: Pull public or private Docker Hub images in Containers. | ||
| products: | ||
| - containers | ||
| date: 2026-03-18 | ||
| --- | ||
|
|
||
| import { WranglerConfig } from "~/components"; | ||
|
|
||
| [Containers](/containers/) now support pulling public Docker Hub images directly from the `image` field. This lets you deploy a pre-built image without first pushing it to the Cloudflare Registry. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "pulling public Docker Hub images directly from the Sounds like we're pulling from the field itself, I'd reword slightly |
||
|
|
||
| To use a public image, set `image` to a fully qualified Docker Hub image reference: | ||
|
|
||
| <WranglerConfig> | ||
|
|
||
| ```jsonc | ||
| { | ||
| "containers": [ | ||
| { | ||
| "image": "docker.io/<NAMESPACE>/<REPOSITORY>:<TAG>", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd add a comment with a real one above so people can pattern match here?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pulled the image from the sandbox template @ghostwriternr can you confirm if this is okay to include as the example? |
||
| }, | ||
| ], | ||
| } | ||
| ``` | ||
|
|
||
| </WranglerConfig> | ||
|
|
||
| You can also use private Docker Hub images after you configure `docker.io` with `wrangler containers registries configure`. Docker Hub images are not cached, so pulls may be subject to Docker Hub pull limits or fair-use restrictions. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would link to the wrangler command docs - https://developers.cloudflare.com/workers/wrangler/commands/containers/#containers-registries-configure and I'd say "not yet cached" since it'll come eventually (right? - if not, then nvm)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, I'd link to the docs where you explain how to do this |
||
|
|
||
| For more information, refer to [Image management](/containers/platform-details/image-management/). | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: date needs updating