Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure when going through the tutorial and trying to access localhost Concourse #487

Open
GMadorell opened this issue Feb 11, 2022 · 8 comments

Comments

@GMadorell
Copy link

GMadorell commented Feb 11, 2022

I was going through the tutorial here:https://concourse-ci.org/quick-start.html

The steps I did were basically the same ones as the tutorial:

$ curl -O https://concourse-ci.org/docker-compose.yml
$ docker-compose up -d

Then, going to localhost:8080 yielded a "This site can't be reached" page.

Seeing the container status, this was found:

NAMES                               IMAGE                 STATUS                     PORTS
concourse-tutorial-concourse-1      concourse/concourse   Exited (1) 8 seconds ago
concourse-tutorial-concourse-db-1   postgres              Up 17 seconds              5432/tcp

So it seems the main container died.
Running docker logs concourse-tutorial-concourse-1 yields:

error: Exit trace for group:
worker exited with error: Exit trace for group:
garden exited with error: Exit trace for group:
containerd-garden-backend exited with error: setup host network failed: create chain or flush if exists failed: running [/sbin/iptables -t filter -N CONCOURSE-OPERATOR --wait]: exit status 3: iptables v1.6.1: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

(Along other info which seems uninteresting right now).

I'm running on macOS Monterey 12.2, apple silicon, docker 4.4.2.

What do?

@taylorsilva
Copy link
Member

By "apple silicon" do you mean you're using an M1 mac?

@GMadorell
Copy link
Author

By "apple silicon" do you mean you're using an M1 mac?

Yes.

@yuzs2
Copy link

yuzs2 commented May 30, 2022

By "apple silicon" do you mean you're using an M1 mac?

I faced the same issue. I'm also using Apple M1 Mac, is this the root cause?

@Nina07
Copy link

Nina07 commented Jun 1, 2022

Same issue. Commenting to stay tuned.

@dakotak
Copy link

dakotak commented Jun 30, 2022

Same issue on an M1 Mac

@bogdaniel
Copy link

I'm using ubuntu 22 and having the same error.

@kj187
Copy link

kj187 commented Aug 5, 2022

I switched also to Apple M1 chip, and now, I got the same issue.
I tried it with the latest image and also with some older images 7.8.1-ubuntu-20220713 and 7.8.0-alpine-20220612

concourse-ci-concourse-1  | {"timestamp":"2022-08-05T14:36:48.697792839Z","level":"error","source":"quickstart","message":"quickstart.worker-runner.logging-runner-exited","data":{"error":"Exit trace for group:\ngarden exited with error: Exit trace for group:\ncontainerd-garden-backend exited with error: setup host network failed: create chain or flush if exists failed: running [/sbin/iptables -t filter -N CONCOURSE-OPERATOR --wait]: exit status 3: iptables v1.6.1: can't initialize iptables table `filter': iptables who? (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\n\ncontainerd exited with nil\n\ncontainer-sweeper exited with nil\nhealthcheck exited with nil\ndebug exited with nil\nvolume-sweeper exited with nil\nbaggageclaim exited with nil\nbeacon exited with nil\n","session":"2"}}

concourse-ci-concourse-1  | error: Exit trace for group:
concourse-ci-concourse-1  | worker exited with error: Exit trace for group:
concourse-ci-concourse-1  | garden exited with error: Exit trace for group:
concourse-ci-concourse-1  | containerd-garden-backend exited with error: setup host network failed: create chain or flush if exists failed: running [/sbin/iptables -t filter -N CONCOURSE-OPERATOR --wait]: exit status 3: iptables v1.6.1: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
concourse-ci-concourse-1  | Perhaps iptables or your kernel needs to be upgraded.
concourse-ci-concourse-1  |
concourse-ci-concourse-1  | containerd exited with nil
concourse-ci-concourse-1  |
concourse-ci-concourse-1  | container-sweeper exited with nil
concourse-ci-concourse-1  | healthcheck exited with nil
concourse-ci-concourse-1  | debug exited with nil
concourse-ci-concourse-1  | volume-sweeper exited with nil
concourse-ci-concourse-1  | baggageclaim exited with nil
concourse-ci-concourse-1  | beacon exited with nil
concourse-ci-concourse-1  |
concourse-ci-concourse-1  | web exited with nil

@kj187
Copy link

kj187 commented Aug 8, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants