experiments-2p-preproc.sh 435 B

123456789101112
  1. #!/bin/bash
  2. A=$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' party0)
  3. B=$(docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' party1)
  4. echo $A
  5. echo $B
  6. docker exec -w /root/duoram/2p-preprocessing party1 ./preprocessing1 $A 10 10 &
  7. sleep 2
  8. echo "P1 launched"
  9. docker exec -w /root/duoram/2p-preprocessing party0 ./preprocessing0 $B 10 10 &
  10. echo "P0 launched"
  11. wait