Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add specific example and clarification for your $HOME files #781

Merged
merged 1 commit into from
Jul 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion doc/source/user-environment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down