Skip to content

🐛 Bad Request ("Duplicate mount point") #16

@shnizzedy

Description

@shnizzedy

Describe the bug

docker.errors.APIError: 400 Client Error for http+docker://localhost/v1.40/containers/create: Bad Request ("Duplicate mount point: /home/jclucas/CNL/GitHub/C-PAC")

To Reproduce
Steps to reproduce the behavior:

  1. run cpac -B $PWD:/code $BIDS_DIR $OUTPUTS test_config
  2. See error

Expected behavior

cpac would bind the custom binding in place of the automatic binding (i.e.,

Loading 🐳 Docker
Loading 🐳 fcpindi/c-pac:latest with these directory bindings:
  local                                Docker                       mode
  -----------------------------------  ---------------------------  ------
  /home/jclucas/CNL/GitHub/C-PAC       /code                        rw

instead of trying to bind both

Loading 🐳 Docker
Loading 🐳 fcpindi/c-pac:latest with these directory bindings:
  local                                Docker                           mode
  -----------------------------------  ------------------------------  ------
  /home/jclucas/CNL/GitHub/C-PAC       /home/jclucas/CNL/GitHub/C-PAC  rw
  /home/jclucas/CNL/GitHub/C-PAC       /code                           rw

)

Screenshots

Versions

  • C-PAC: 1.8.0
  • Container Platform :
    • Docker: 20.10.2

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Hacktoberfesthttps://hacktoberfest.digitalocean.com/bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions