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.
Signed-off-by: vsoch vsoch@users.noreply.github.com
Description of the Pull Request (PR):
This PR will be early work to address #154 - and the branch can be tested as follows. First, create a dummy dockerfile that uses this branch, e.g., I could run
docker run -v $PWD:/data quay.io/vanessa/expfactory-builder build test-task
and then just change the branch:build it
Now we can execute commands to interact with the install inside. E.g., list users
docker exec experiment expfactory users --list
there should be a command for
--tokens
so we can create a text file with line separated tokens (comments are okay)the present working directory is bound to /data so let's ask expfactory to add users from the tokens file there (from the container's point of view):
You should then be able to see the data directories in expfactory in the PWD:
And also login via the interface with the tokens (I couldn't test this because I rigorously block cookies)! Also note a more complete variation of these instructions will be added to the expfactory.github.io docs, shown here