Dimitris Stafylarakis
12/03/2020, 1:22 PMrequests.exceptions.HTTPError: 404 Client Error: Not Found for url: <http+docker://localhost/v1.40/images/create?tag=latest&fromImage=>...
) and docker.errors.ImageNotFound when I try to register the flow. Others have mentioned similar errors in the past, but as far as I saw this was when trying to deploy the flow, not when building the image. Any clues/hints/tips would be appreciated! I'm on OSX using docker-desktop btw, just the default config. Thanks in advance 🙂Joël Luijmes
12/03/2020, 1:23 PMDimitris Stafylarakis
12/03/2020, 1:23 PMJoël Luijmes
12/03/2020, 1:30 PMDimitris Stafylarakis
12/03/2020, 1:31 PMNote that you don't necessarily need to push your custom base image to a registry; as long as it resides on the machine that you register from, your Docker daemon will be able to use it as your Flow's base image.
Joël Luijmes
12/03/2020, 1:33 PMDimitris Stafylarakis
12/03/2020, 1:42 PMDylan
Dimitris Stafylarakis
12/03/2020, 3:38 PMflow = Flow("docker-flow", tasks=[yet_another_task])
flow.storage = Docker(base_image="prefect-local-test:latest")
built_storage = flow.storage.build(push=False)
Dylan
Zanie
Dimitris Stafylarakis
12/03/2020, 3:56 PMZanie
local_image
kwarglocal_image (bool, optional): an optional flag whether or not to use a
local docker image, if True then a pull will not be attempted
Dimitris Stafylarakis
12/03/2020, 3:59 PMZanie
Dimitris Stafylarakis
12/03/2020, 4:06 PM