#!/usr/bin/env bash

QUES="q2"

docker run --rm -it \
  --name "xv6-devbox-$QUES" \
  -h xv6 \
  -u $(id -u):$(id -g) \
  -v /etc/passwd:/etc/passwd:ro \
  -v /etc/group:/etc/group:ro \
  -v "./xv6-riscv-$QUES:/xv6-riscv-$QUES" \
  -w "/xv6-riscv-$QUES" \
  arghyadipchak/xv6-riscv-devbox:latest
