README update.
This commit is contained in:
parent
f14d38a6a9
commit
0809dfeb40
1 changed files with 5 additions and 3 deletions
|
|
@ -9,13 +9,13 @@ My plan is to switch from Docker to native Linux Containers at some time but I a
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
* Docker...! What a wonder... :)
|
* Docker...! What a wonder... :)
|
||||||
* Be sure to be member of the docker group. Else, you need to do all the next steps as user root. I will not cover this here!
|
* Be sure to be a member of the docker group. Else you need to do all the next steps as user root. I will not cover this here!
|
||||||
|
|
||||||
## Get the code
|
## Get the code
|
||||||
|
|
||||||
git clone https://git.xw3.org/hanez/rusty
|
git clone https://git.xw3.org/hanez/rusty
|
||||||
# or
|
# or
|
||||||
git clone git@git.xw3.org:hanez/rusty.git (needs an account on git.xw3.org)
|
git clone git@git.xw3.org:hanez/rusty.git # (needs an account on git.xw3.org)
|
||||||
cd rusty
|
cd rusty
|
||||||
|
|
||||||
## Prepare the environment
|
## Prepare the environment
|
||||||
|
|
@ -29,7 +29,7 @@ My plan is to switch from Docker to native Linux Containers at some time but I a
|
||||||
|
|
||||||
## Configure your environment (Optional)
|
## Configure your environment (Optional)
|
||||||
|
|
||||||
Optionally you can configure your $HOME directories (/home/$USER and /root). I do this by pulling my $HOME configuration from my Git server. Pulling my $HOME configuration will not work for you because you are not allowed to pull via the Git protocol. This is just an example on how do it... E.g.:
|
Optionally you can configure your $HOME directories (/home/$USER and /root). I do this by pulling my $HOME configuration from my Git server. Pulling my $HOME configuration will not work for you because you are not allowed to pull via the Git protocol. This is just an example on how I do it... E.g.:
|
||||||
|
|
||||||
git clone git@git.xw3.org:hanez/home.git home/hanez/
|
git clone git@git.xw3.org:hanez/home.git home/hanez/
|
||||||
sudo git clone git@git.xw3.org:hanez/home.git root/
|
sudo git clone git@git.xw3.org:hanez/home.git root/
|
||||||
|
|
@ -44,6 +44,8 @@ If you do not configure your $HOME directories here, the container's defaults wi
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
docker attach rusty
|
docker attach rusty
|
||||||
|
|
||||||
|
You can stop the container by executing "exit" or by hiting ctrl+c when attached. You can always detache the container when hiting ctrl+p and then ctrl+q. This is useful if you have a screen or a tmux session runningin your container, or maybe some other applications.
|
||||||
|
|
||||||
## Using the Dockerfile only (less comfortable and without shared directories)
|
## Using the Dockerfile only (less comfortable and without shared directories)
|
||||||
|
|
||||||
I recommend not to do it this way! You have been warned!
|
I recommend not to do it this way! You have been warned!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue