Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Consider adding a self-destruct / timeout feature. #695

Open
jdeathe opened this issue Jan 25, 2019 · 2 comments · May be fixed by #800
Open

Consider adding a self-destruct / timeout feature. #695

jdeathe opened this issue Jan 25, 2019 · 2 comments · May be fixed by #800
Assignees

Comments

@jdeathe
Copy link
Owner

jdeathe commented Jan 25, 2019

It might be useful to configure the container with an expiry time so that the user's access and container is limited to a certain date/time or for a timeout period.

@jdeathe

This comment has been minimized.

@jdeathe
Copy link
Owner Author

jdeathe commented Jun 10, 2019

Progress: https://github.com/jdeathe/centos-ssh/pull/800/files

Adds a reaper script so that it can trap signals and will terminate the PID 1 process. If the reaper process gets killed it will trigger the trap and exit the container.

Need to combine with a suitable restart policy depending on the use-case.

TODO:

  • Test cases
  • README
  • Log details

jdeathe added a commit that referenced this issue Jun 17, 2019
@jdeathe jdeathe self-assigned this Jun 18, 2019
jdeathe added a commit that referenced this issue Sep 20, 2019
jdeathe added a commit that referenced this issue Sep 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant