Draft
Conversation
Introduce bst_check_container.m to detect and validate available container runtimes (docker, podman, apptainer, singularity), verify runtime usability (daemon running when required), and ensure a requested container image is available (with optional pull). Returns runtime, original image reference, and local .sif path for Apptainer/Singularity. Includes helper routines for command detection, runtime checks, image existence, and Brainstorm GUI dialogs for user interaction; does not execute containers.
Add an inline comment to toolbox/containers/bst_check_container.m noting the current duneuro container image tag ('ghcr.io/maltehoel/duneuro_in_docker_testing:wip') for testing/developer reference. This is a non-functional documentation-only change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces an initial and experimental interface to explore the use
of containerized external tools from Brainstorm.
Main contributions:
container runtimes (Docker, Podman, Apptainer/Singularity)
This work is intended as a first step and proof-of-concept toward integrating
containers as a supported mechanism to run external tools (eg. duneuro) from
Brainstorm, without requiring users to manually install complex dependencies.
The current implementation is deliberately minimal and meant to enable
discussion, testing, and refinement. In particular, the long-term integration
of container-based tools may be better handled through the Brainstorm Plugin
Manager, rather than via standalone utilities, and this PR is meant to help
inform that design choice.
No existing behavior is modified, and no containers are executed directly
by this current change.