diff options
author | Ryo Nakamura <upa@haeena.net> | 2024-04-14 17:00:06 +0900 |
---|---|---|
committer | Ryo Nakamura <upa@haeena.net> | 2024-04-14 17:00:06 +0900 |
commit | 7b5e38e811b3553eb6d30ba4b995dee002df3142 (patch) | |
tree | c977745646f2e193e6a1142651bc2a82c5c67b65 | |
parent | 4ce62079cf1254553cd34e5d3b315e1548bfa191 (diff) |
add --privileged for docker/podman run for docker-test-*
With podman 5.0.1 on macOS 14.4.1 with M2 Pro, ssh localhost inside
podman containers fails. I'm not sure its reason, but as a work around,
I added --privileged to podman run.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a41214..385b2f7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -201,7 +201,7 @@ foreach(x RANGE ${DIST_LISTLEN}) COMMENT "Test mscp in ${DOCKER_IMAGE} container" WORKING_DIRECTORY ${CMAKE_BINARY_DIR} COMMAND - ${CE} run --init --rm + ${CE} run --init --rm --privileged --sysctl net.ipv6.conf.all.disable_ipv6=0 --add-host=ip6-localhost:::1 ${DOCKER_IMAGE} /mscp/scripts/test-in-container.sh) |