Skip to content

Inconsistent behaviour: multiple --inputs fail, multiple --input-urls do not #945

@enricorotundo

Description

@enricorotundo

This fails:

> bacalhau docker run \
    --inputs bafybeig3xawqpx2i2s6ct5nmfavmm5avyw5h364gzslgrmszgcufpf7zz4 \
    --inputs bafybeig63whfqyuvwqqrp5456fl4anceju24ttyycexef3k5eurg5uvrq4 \
    --wait \
    ubuntu ls /inputs
...
    Stderr:
      Error response from daemon: Duplicate mount point: /inputs

This runs but ignores the second input-urls:

❯ bacalhau docker run \
    --input-urls https://gist.githubusercontent.com/enricorotundo/4c7f158f20ae4997e710e66531b8b54f/raw/ee5228ea06117a6ae97a98fed4ae7b1f1776d564/hepscore-new.md \
    --input-urls https://gist.githubusercontent.com/enricorotundo/990f0ad01a50d08dfb580e4ad404870e/raw/aa6934257351a0da93f1e740c72f27128590cebc/foo_data.txt \
    --wait \
    ubuntu ls /inputs
...
    Stdout:
      foo_data.txt

Tested on v0.3.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerstype/bugType: Something is not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions