Commit 23395fda authored by Jim Newsome's avatar Jim Newsome
Browse files

Scripts to build and run

parent aa6f7d85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,4 +196,4 @@ COPY --from=build-tor /opt/tor /root/.shadow/
COPY --from=build-oniontrace /opt/oniontrace /root/.shadow/

# Don't actually run the simulation
# RUN tornettools simulate -s /opt/shadow/bin/shadow tornet
CMD tornettools simulate -s /opt/shadow/bin/shadow tornet

build.sh

0 → 100644
+1 −0
Original line number Diff line number Diff line
docker build --network=host -t torsim:latest .

run.sh

0 → 100644
+1 −0
Original line number Diff line number Diff line
docker run --cap-add=SYS_PTRACE --shm-size=16g torsim:latest