Skip to content

Default docker run doesn't work even if default SEQREPO_ROOT_DIR is populated #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
theferrit32 opened this issue Mar 24, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@theferrit32
Copy link
Contributor

Describe the bug

To Reproduce
Steps to reproduce the behavior:

I have a directory $HOME/dev/data/seqrepo with a populated and working SeqRepo database.

Pull image:

podman pull biocommons/seqrepo-rest-service

Run container:

$ podman run --rm --name seqrepo-rest \
  -v $HOME/dev/data/seqrepo:/usr/local/share/seqrepo \
  -p 5001:5000 \
  biocommons/seqrepo-rest-service

Output:

usage: seqrepo-rest-service [-h] [--wait-for-path] SEQREPO_INSTANCE_DIR
seqrepo-rest-service: error: the following arguments are required: SEQREPO_INSTANCE_DIR

Expected behavior
It would be nice if it just ran using the same default dir as SeqRepo itself. And detected that a snapshot was already there.

@theferrit32 theferrit32 added the bug Something isn't working label Mar 24, 2025
@theferrit32 theferrit32 self-assigned this Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant