We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Viash executable pass duplicate mounts to Docker. For example, with the following component:
functionality: name: foo arguments: - name: "--input" type: file multiple: true resources: - type: python_script path: script.py text: print(par) platforms: - type: docker image: python:3.10
Running bin/foo --input one --input one will cause the generated docker command to be:
bin/foo --input one --input one
docker run --entrypoint=bash -i --rm \ -v "/foo/test:/viash_automount/foo/test" \ -v "/foo/test:/viash_automount/foo/test" \ -v "/foo/test/bin:/viash_automount/foo/test/bin" \ -v "/foo/test/bin:/viash_automount/foo/test/bin" \ -v "/foo/workspace/viash_temp:/viash_automount/foo/workspace/viash_temp" \ foo:latest
Duplicate mounts (even if they are exactly the same) will result in an error being thrown by podman.
The text was updated successfully, but these errors were encountered:
DockerPlatform: Remove duplicate auto-mounts (#257).
DockerPlatform
0d84f64
Merge pull request #258 from viash-io/bugfix/duplicate_mounts
3619a67
`DockerPlatform`: Remove duplicate auto-mounts (#257).
Solved with #258
Sorry, something went wrong.
No branches or pull requests
Viash executable pass duplicate mounts to Docker. For example, with the following component:
Running
bin/foo --input one --input one
will cause the generated docker command to be:Duplicate mounts (even if they are exactly the same) will result in an error being thrown by podman.
The text was updated successfully, but these errors were encountered: