summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2024-04-14 17:00:06 +0900
committerRyo Nakamura <upa@haeena.net>2024-04-14 17:00:06 +0900
commit7b5e38e811b3553eb6d30ba4b995dee002df3142 (patch)
treec977745646f2e193e6a1142651bc2a82c5c67b65 /CMakeLists.txt
parent4ce62079cf1254553cd34e5d3b315e1548bfa191 (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.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
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)