I have done the following
Steps to reproduce
Start a container and bind mount a relative path:
container run -it --rm --mount type=bind,src=.,dst=/foo debian:testing bash
Current behavior
I get this error and the container does not start:
Error: invalidArgument: "Invalid volume name '.': must match ^[A-Za-z0-9][A-Za-z0-9_.-]*$"
Expected behavior
The container starts successfully.
Environment
- OS: macOS 15.6.1
- Xcode: 26.0 17A5285i
- Container: 2525d55 (main at the time of writing)
Relevant log output
Code of Conduct