Skip to content
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

nf-core subworkflows test --profile flag doesn't like specifying docker or conda #2921

Open
jfy133 opened this issue Apr 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jfy133
Copy link
Member

jfy133 commented Apr 18, 2024

Description of the bug

$ nf-core subworkflows test --profile docker

                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'

    nf-core/tools version 2.13.1 - https://nf-co.re/


                                                                                                    
 Usage: nf-core subworkflows test [OPTIONS] subworkflow name                                        
                                                                                                    
 Try 'nf-core subworkflows test -h' for help                                                        
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮
│ Invalid value for '--profile': 'docker' is not one of 'none', 'singularity'.                     │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
                                                                       
[10:43](https://nfcore.slack.com/archives/D017F3SUESW/p1713429815891469)



$ nf-core modules test --profile docker

                                      ,--./,-.
      ___     __   __   __   ___     /,-._.--~\
|\ | |__  __ /  ` /  \ |__) |__         }  {
| \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                      `._,._,'

nf-core/tools version 2.13.1 - https://nf-co.re/

WARNING 'repository_type' not defined in .nf-core.yml
? Is this repository an nf-core pipeline or a fork of nf-core/modules? (Use arrow keys)
» Pipeline
nf-core/modules


### Command used and terminal output

_No response_

### System information

_No response_
@jfy133 jfy133 added the bug Something isn't working label Apr 18, 2024
@marrip
Copy link

marrip commented May 15, 2024

hey, I also tried the gitpod devcontainer for the raredisease pipeline and had some weird issues with running docker - the docker daemon was not running upon container start and needed to be started manually, then permission issues prevented us from running docker without sudo and when we run nextflow it doesn't allow us to use sudo. It would be nice to solve these issues. What is the intended use of the gitpod container, should the user gitpod be able to run stuff directly? Is the conda environment supposed to be turned on always?

@marrip
Copy link

marrip commented May 24, 2024

adding the gitpod user to the docker group seems to fix the permissions issue when using docker: usermod -aG docker gitpod. Starting the docker daemon could be done in a post-build script when spinning up the container.

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

2 participants