Skip to content

Commit

Permalink
try to use unprivileged containers
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasyang2022 committed Oct 16, 2024
1 parent 65e305d commit 8f05a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/run-functional-tests
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ create_alice_bob_carol() {

deploy_ha_node() {
node_name=$1
docker_options="-d --name $node_name -h $node_name --privileged --shm-size 1g"
docker_options="-d --name $node_name -h $node_name --tmpfs /run --tmpfs /run/lock --tmpfs /tmp --tmpfs /var/lib/journal -v /sys/fs/cgroup:/sys/fs/cgroup:rw --shm-size 1g"
make_cmd="cd $PROJECT_INSIDE;./autogen.sh && ./configure --prefix /usr && make install && make install-crmconfDATA prefix= && cp /usr/bin/crm /usr/sbin"

info "Deploying \"$node_name\"..."
Expand Down

0 comments on commit 8f05a54

Please sign in to comment.