diff --git a/README.md b/README.md index 42fff4d..7e23bd3 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,35 @@ My plan is to switch from Docker to native Linux Containers at some time but I a ## Get the code git clone https://git.xw3.org/hanez/rusty - or - git clone git@git.xw3.org:hanez/rusty.git + # or + git clone git@git.xw3.org:hanez/rusty.git (needs an account on git.xw3.org) cd rusty +## Prepare environment + + mkdir -p home/$USER + chown $USER:$USER home/$USER + su + # or + sudo su + chown root:root home + mkdir root + chown root:root root + +## Configure your environment (Optional) + +Optionally you can configure your $HOME directories. I do this by pulling my $HOME config from my Git server. E.g.: + + cd home/hanez + git clone git@git.xw3.org:hanez/home.git + cd ../.. + su + # or + sudo su + cd root + git clone git@git.xw3.org:hanez/home.git + cd .. + ## Using docker compose docker compose build @@ -21,6 +46,8 @@ My plan is to switch from Docker to native Linux Containers at some time but I a ## Using the Dockerfile only (less comfortable and without shared directories) +I recommend not to do it this way! You have been warned! + docker build -t rusty . docker run -it --entrypoint /bin/bash rusty - +