concourse-tutorial icon indicating copy to clipboard operation
concourse-tutorial copied to clipboard

Fixed "base resource type not found: docker-image" error in tutorial

Open mreiche opened this issue 3 years ago • 8 comments

mreiche avatar Mar 11 '22 14:03 mreiche

Are you planning to update the rest of the tutorial? The docker-image resource still exists, so I am wondering how you ran into this error.

https://resource-types.concourse-ci.org/ https://github.com/concourse/docker-image-resource https://github.com/concourse/registry-image-resource

norman-abramovitz avatar Mar 14 '22 13:03 norman-abramovitz

Are you planning to update the rest of the tutorial? The docker-image resource still exists, so I am wondering how you ran into this error.

https://resource-types.concourse-ci.org/ https://github.com/concourse/docker-image-resource https://github.com/concourse/registry-image-resource

Is just followed the tutorial, installing fly from brew.

fly --version
7.5.0

I found the fix here: https://stackoverflow.com/questions/66899791/concourse-tutorial-create-resource-config-base-resource-type-not-found-docke

mreiche avatar Mar 15 '22 07:03 mreiche

I will have to do some more research since looking at the latest release 7.7.0 the docker-image is supposed to be bundled in. https://github.com/concourse/concourse/releases/tag/v7.7.0 (look at the bundled resource types section).

norman-abramovitz avatar Mar 15 '22 09:03 norman-abramovitz

The plot thickens as even 7.5.0 claims that docker-image is bundled in. https://github.com/concourse/concourse/releases/tag/v7.5.0

norman-abramovitz avatar Mar 15 '22 09:03 norman-abramovitz

I ran my local test and the docker-image resource worked just fine on 7.5.0. What are your environmental settings, so I can attempt to reproduce and we can update the tutorial with appropriate information?

norman-abramovitz avatar Mar 15 '22 09:03 norman-abramovitz

I see, I'm using no official image but https://github.com/robinhuiser/concourse-arm64/blob/main/docker-compose.yaml (https://hub.docker.com/r/rdclda/concourse), because I'm running Docker on a ARM64 chipset on Mac M1.

mreiche avatar Mar 15 '22 10:03 mreiche

Thanks, I would think all resources would fail unless you put in resource-type stanzas. I have an m1 to test on, so I will try it out over one of the coming weekends.

norman-abramovitz avatar Mar 15 '22 10:03 norman-abramovitz

I have a Mac m1 and run into the same issue. For me, docker-image didn't exist, so I had to change it to registry-image. fly -v 7.9.1

I couldn't run the official docker image concourse/concourse, so had to use rdclda/concourse:7.9.1

muzhaqi16 avatar May 12 '23 16:05 muzhaqi16