Skip to content

Can't use docker image unless already pulled locally #1

@fbricon

Description

@fbricon

I just tested kitten out of curiosity, I don't know anything about tekton, so it might be the expected behavior, but if the docker image is not available locally, the pipeline fails:

➜  kitten git:(master) ./kitten  pkg/crds/testdata/pipeline.yaml
Running Pipeline Task build
--- running Step foo
Failed to run task ☠️
can't create container. Error: No such image: alpine

Now get docker to pull alpine locally and try again:

➜  kitten git:(master) docker run alpine
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
e7c96db7181b: Pull complete
Digest: sha256:769fddc7cc2f0a1c35abb2f91432e8beecf83916c421420e6a6da9f8975464b6
Status: Downloaded newer image for alpine:latest
➜  kitten git:(master) ./kitten  pkg/crds/testdata/pipeline.yaml
Running Pipeline Task build
--- running Step foo
[sample:foo] hello foo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions