Skip to content

docker execution error bash: bats: No such file or directory #551

@johnqa

Description

@johnqa

Describe the bug
I have an error when I try to execute my tests with bats using the docker approach. My tests are in a file in /home/user/tests folder

To Reproduce
docker run --rm -it -v "/home/user/tests:/code" bats/bats:latest /code
Error:
bash: bats: No such file or directory

Environment (please complete the following information):

  • Bats Version latest
  • OS: RHEL7

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Bash CodeEverything regarding the bash codeComponent: DockerPriority: HighBroken behavior in specific environments like in parallel mode or only on some operating systemsStatus: UnconfirmendNo reproducer was provided or the reproducer did not work for maintainers.Type: BugWaiting for Contributor FeedbackThe original contributor did not yet respond to the latest request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions