https://prefect.io logo
Title
l

Lachlan Casey

02/06/2023, 11:59 AM
Hi team! I am trying to add a docker-container block to the local interface. When running
prefect block register -m prefect_docker
I only get the docker host and docker registry details blocks in the UI. How do i get the docker container block?
a

Andrew Huang

02/07/2023, 1:22 AM
Are you looking for the built-in core’s block? if so, you don’t need to register that one: https://docs.prefect.io/api-ref/prefect/infrastructure/#prefect.infrastructure.DockerContainer
l

Lachlan Casey

02/07/2023, 11:58 PM
all good, I had to restart the orion database and the core blocks appeared
🙌 1