Skip to content

DockerRegistryCredentials section in work pool settings not visible when work pool created directly by worker #18490

@etx121

Description

@etx121

Bug summary

I am using Prefect v3.4.8.
When I create a docker work pool directly by starting a docker worker (with --type):
prefect worker start --pool=docker-work-pool --type=docker
I cannot see the block of DockerRegistryCredentials (Optional) in this case. I need to delete the newly created docker work pool, and create a new one, so I can add the Docker Registry Credentials from the Prefect Blocks.

Image

When creating the docker work pool manually with the Prefect UI, we can add the Block Docker Registry Credentials:
Image

Version info

`prefect version`:
prefect version
Version:             3.4.8
API version:         0.8.4
Python version:      3.13.5
Git commit:          a271d3fe
Built:               Thu, Jul 10, 2025 05:49 PM
OS/Arch:             darwin/arm64
Profile:             local
Server type:         server
Pydantic version:    2.11.7
Integrations:
  prefect-docker:    0.6.6

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions