Skip to content

exit status 2: iptables v1.8.7 (nf_tables): Couldn't load match `conntrack' #86

Closed

Description

@jhderojasUVa

There's an error on WSL2 of concourse/concourse:latest image that can be related on: https://dev.to/lemosluan/comment/1nmi7

The image (web, concourse/concourse) is not running giving this error on the log:

{"timestamp":"2023-01-03T08:38:44.584522300Z","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: appending accept rule for RELATED \u0026 ESTABLISHED connections failed: running [/usr/sbin/iptables -t filter -A CONCOURSE-OPERATOR -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT --wait]: exit status 2: iptables v1.8.7 (nf_tables): Couldn't load match `conntrack':No such file or directory\n\nTry `iptables -h' or 'iptables --help' for more information.\n\ncontainerd exited with nil\n\nhealthcheck exited with nil\ndebug exited with nil\nvolume-sweeper exited with nil\ncontainer-sweeper exited with nil\nbaggageclaim exited with nil\nbeacon exited with nil\n","session":"2"}}

At microsoft/WSL#7948 (comment) says that can be solved by, on the Dockerfile setting:

sudo update-alternatives --set iptables /usr/sbin/iptables-legacy

So using iptables-legacy

Previous versions (6.X) works correctly.

Activity

  1. taylorsilva commented on Apr 16, 2025

    @taylorsilva
    Member

    This should work with the latest version and the updates made to the guardian runtime.

    I'd also suggest running Concourse with the containerd runtime instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions