Qarik-Group / concourse-tutorial

Learn to use https://concourse-ci.org with this linear sequence of tutorials. Learn each concept that builds on the previous concept.
870 stars 555 forks source link

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

Open mreiche opened 2 years ago

norman-abramovitz commented 2 years ago

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

mreiche commented 2 years ago

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

norman-abramovitz commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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?

mreiche commented 2 years ago

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.

norman-abramovitz commented 2 years ago

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.

muzhaqi16 commented 1 year ago

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