From 8f7ec3f4ba331958b56e50a7c3377bee8f3a50ee Mon Sep 17 00:00:00 2001 From: Adam Huffman Date: Tue, 24 Jul 2018 09:09:19 +0100 Subject: [PATCH] Add specific example and clarification for your $HOME files --- doc/source/user-environment.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/user-environment.rst b/doc/source/user-environment.rst index d20b90d597..a70bce5a58 100644 --- a/doc/source/user-environment.rst +++ b/doc/source/user-environment.rst @@ -310,8 +310,9 @@ in ``config.yaml``: lifecycleHooks: postStart: exec: - command: ["your", "command", "here"] + command: ["cp", "-a", "src", "target"] +Each element of the command needs to be a separate item in the list. Note that this command will be run from the ``$HOME`` location of the user's running container, meaning that commands that place files relative to ``./`` will result in users seeing those files in their home directory. You can use