much love
[mu.git] / tools / create_container
blob0ab9195e5cdf9fb0a3b29cca64ba9b00cc662aaf
1 #!/bin/sh
2 # Start a Linux container containing the mu/ directory.
3 # Useful on non-Linux platforms.
4 # Run it from the top-level mu/ directory.
6 docker run -it --name mu -v `pwd`:/mu abyssos/abyss:dev
8 # On the first startup, you'll need to run the following commands:
9 # apk add git nano libcxx-dev
10 # cd /mu
12 # Leaving this container will stop it.
13 # Restart it with:
14 # docker start mu
16 # Now you can connect to it anytime with:
17 # docker exec -it mu sh
18 # cd /mu
20 # Quite slow, though. Docker has to run a VM on other platforms.