Skip to content

Building docker container in OBS fails with "Could not load necessary modules for IPSEC rules: protocol not supported" #1080

@greygoo

Description

@greygoo

I tried building a simple docker container example. It builds fine when building local, but fails when building on the OBS servers with

[   14s] time="2025-06-26T12:42:02.639548178Z" level=info msg="containerd successfully booted in 0.020339s"
[   14s] time="2025-06-26T12:42:02.644351360Z" level=warning msg="Failed to run [/usr/bin/docker-runc features]: \"\"" error="fork/exec /usr/bin/docker-runc: no such file or directory"
[   14s] time="2025-06-26T12:42:02.664431859Z" level=warning msg="Could not load necessary modules for IPSEC rules: protocol not supported"
[   14s] failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to add jump rules to ipv4 NAT table: failed to append jump rules to nat-PREROUTING:  (iptables failed: iptables --wait -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER: Warning: Extension addrtype revision 0 not supported, missing kernel module?
[   14s] iptables: No chain/target/match by that name.
[   14s]  (exit status 1))
[   25s] Docker is dead
[   25s] /.build/startdockerd: line 20: kill: (1519) - No such process
[   25s] time="2025-06-26T12:42:12.785402858Z" level=info msg="Stop CRI service"
[   25s] time="2025-06-26T12:42:12.788114200Z" level=info msg="Stop CRI service"
[   25s] time="2025-06-26T12:42:12.788164930Z" level=info msg="Event monitor stopped"
[   25s] ### VM INTERACTION START ###
[   25s] Powering off.

I retried several times, with the same result every time.

Project can be found here: https://build.opensuse.org/package/show/home:chuller:container-example/example-container
Error can be found in the build log.

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