-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
We need to enable the creation of toolbox containers. This involves a couple things:
- We need to check through the environment and construct a podman
createAPI call with the correct environment and bind mounts to integrate the container into the host. - We need to make sure we pass through things like nvidia drivers, dbus socket, gpg socket, ssh-agent and so on to try and behave as closely as possible to the host.
- We need to set entrypoint of the container to be the
rtboxbinary itself with a set of arguments that will be equivalent to the host execution context - We need to make sure that the container will execute in the same terminal
Solution
- Make sure the podman call preserves the environment in preservedEnvironmentVariables
- Make sure we have the correct bind mounts as listed in initContainerMounts
- Make sure the entrypoint is set to the
rtboxbinary itself
Acceptance Criteria
rtbox createcreates a container in the system by calling into the podman APIrtbox listshows the created containerpodman inspectshows the entrypoint of the container is set tortboxbinary- The container can be started and exec'd into
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels