beehive-lab / Maxine-VM

Maxine VM: A meta-circular research VM
GNU General Public License v2.0
323 stars 63 forks source link

[docker] Instead of mounting directories use rsync #15

Closed zakkak closed 5 years ago

zakkak commented 5 years ago

Mounting host directories to containers and compiling from the container appears to be very slow on MacOS (on Windows the overhead is less but still noteable). Using rsync to transfer only changes to the container and then using the files "natively" in the container is much faster and can be automated using fswatch.

Additionally not having to mount directories, we no longer need to use the uid and gid of the host user, allowing us to use the root user as is standard in docker.