lablup / lablup/backend.ai

Add option to use the original image entrypoint when creating session containers

Open
#2,219 0 comments 0 reactions 1 assignee Claimed by @kyujin-cho View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

Sometimes users may want to run the original image entrypoint in addition to our `entrypoint.sh`.It is "easy" to just execute yet another command from `entrypoint.sh` by passing the original entrypoint to the container via configuration files or environment variables, but there are several technical considerations, though:

- The image's original entrypoint command/script may assume the "root" privilege, while our `entrypoint.sh` switches to the plain `work` user.
- We should keep our kernel runner to become ready even if the original entrypoint script takes a long time or fails, to make the container "usable" at least.\* The execution of the original entrypoint script should be done asynchronously and we should have a way to expose its execution log.

JIRA Issue: BA-121

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.