diff --git a/README.md b/README.md index e6fea70..5ae91d0 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,20 @@ podman pull git.berger.ruhr/alwin/dev-pod:fret ``` ## create the contaienr Point WORKDIR to whererver your repos are. -Point FRETHOME to some other directory, which can cuntions as the home directory inside the container. +Point FRETHOME to some other directory, which can serve as the home directory inside the container. +Make sure to initialize an ssh config under $FRETHOME ```sh podman create --name fretpod -p 2222:22 -v basestore:/nix/store -v $FRETHOME:/root -v $WORKDIR:/root/WORK git.berger.ruhr/alwin/dev-pod:fret ``` +## start and enter the container +```sh +# start +podman start fretpod +# enter using ssh +ssh -p 2222 root@127.0.0.1 +# or enter directly using podman +podman exec -it fretpod zsh +``` ## (optinal) auto-start the container ```sh podman generate systemd basepod > ~/.config/systemd/user/basepod.service