docs icon indicating copy to clipboard operation
docs copied to clipboard

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

Open GMadorell opened this issue 3 years ago • 8 comments

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?

GMadorell avatar Feb 11 '22 17:02 GMadorell

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

taylorsilva avatar Feb 12 '22 16:02 taylorsilva

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

Yes.

GMadorell avatar Feb 14 '22 11:02 GMadorell

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?

yuzs2 avatar May 30 '22 16:05 yuzs2

Same issue. Commenting to stay tuned.

Nina07 avatar Jun 01 '22 09:06 Nina07

Same issue on an M1 Mac

dakotak avatar Jun 30 '22 20:06 dakotak

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

bogdaniel avatar Jul 07 '22 17:07 bogdaniel

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 avatar Aug 05 '22 14:08 kj187

see https://github.com/concourse/concourse/issues/8270#issuecomment-1098630670

kj187 avatar Aug 08 '22 08:08 kj187