moby/integration
Rob Murray fc14d8f932
Restore the SetKey prestart hook.
Partially reverts 0046b16 "daemon: set libnetwork sandbox key w/o OCI hook"

Running SetKey to store the OCI Sandbox key after task creation, rather
than from the OCI prestart hook, meant it happened after sysctl settings
were applied by the runtime - which was the intention, we wanted to
complete Sandbox configuration after IPv6 had been disabled by a sysctl
if that was going to happen.

But, it meant '--sysctl' options for a specfic network interface caused
container task creation to fail, because the interface is only moved into
the network namespace during SetKey.

This change restores the SetKey prestart hook, and regenerates config
files that depend on the container's support for IPv6 after the task has
been created. It also adds a regression test that makes sure it's possible
to set an interface-specfic sysctl.

Signed-off-by: Rob Murray <rob.murray@docker.com>
(cherry picked from commit fde80fe2e7)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-03-28 10:05:08 +01:00
..
build integration/build: Use fsutil.NewFS 2024-02-27 11:26:10 +01:00
capabilities api/types: move ContainerLogsOptions to api/types/container 2023-10-12 11:30:12 +02:00
config Don't run tests twice 2023-09-19 11:37:55 +02:00
container fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
daemon integration: Reset OTEL_EXPORTER_OTLP_ENDPOINT for sub-daemons 2024-02-28 10:48:07 +01:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image c8d/list: Add a test case for images sharing a top layer 2024-03-20 13:17:56 +01:00
internal Merge pull request #47062 from robmry/35954-default_ipv6_enabled 2024-01-29 16:31:35 +01:00
network Simplify macvlan/ipvlan integration test structure 2024-02-14 14:09:45 +00:00
networking Restore the SetKey prestart hook. 2024-03-28 10:05:08 +01:00
plugin tests: add plugin install test w/ digest 2024-02-01 23:00:38 +00:00
secret Wire up tests to support otel tracing 2023-09-07 18:38:22 +00:00
service fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
session integration(-cli): remove skips for old daemon versions (<20.10) 2023-12-05 01:03:50 +01:00
system integration: Remove Parallel from TestDiskUsage 2024-03-18 12:11:34 +01:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume fix duplicate words (dupwords) 2024-03-07 10:57:03 +01:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00