Skip to content

Commit

Permalink
Debug rootless docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelton committed Jan 23, 2024
1 parent 7c3e5e3 commit 83d32e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/run-master-and-replica.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ umask 0007

docker=${docker:-docker}

$docker info --format '{{ .ClientInfo.Context }}'

sudo=sudo

BASE=ipa1
Expand Down Expand Up @@ -43,6 +45,9 @@ function wait_for_ipa_container() {
fi
done
date
$docker exec freeipa-master systemctl status ipa.service
$docker exec freeipa-master cat /var/log/ipaserver-install.log
$docker exec freeipa-master cat /var/log/ipaclient-install.log
if test -O $VOLUME/build-id ; then
sudo=
fi
Expand Down Expand Up @@ -154,7 +159,7 @@ else
if [ "$(id -u)" != 0 -a "$docker" == podman -a "$replica" != none ] ; then
dns_opts="$dns_opts --ip-address=172.29.0.1"
fi
run_ipa_container $IMAGE freeipa-master exit-on-finished -U -r EXAMPLE.TEST --setup-dns --no-forwarders $dns_opts --no-ntp $ca
run_ipa_container $IMAGE freeipa-master no-exit -U -r EXAMPLE.TEST --setup-dns --no-forwarders $dns_opts --no-ntp $ca

if [ -n "$ca" ] ; then
$docker rm -f freeipa-master
Expand Down

0 comments on commit 83d32e8

Please sign in to comment.