-
Notifications
You must be signed in to change notification settings - Fork 553
Description
I have done the following
- I have searched the existing issues
- If possible, I've reproduced the issue using the 'main' branch of this project
Steps to reproduce
- Run build with any other path:
container build .. - If there's Dockerfile in the current path, it will build it. If there's not a Dockerfile, it will throw:
Error: Dockerfile does not exist at path: Dockerfile
Current behavior
The build command does ignores the context-dir passed to it, it builds the Dockerfile it finds at the current path or throw an error if there is none.
Expected behavior
build should use the argument path as the context directory instead of always using the current path.
Environment
- OS: 26.0.1
- Xcode: 26.0.1 (25A362)
- Container: container CLI version 0.5.0Relevant log output
Error: Dockerfile does not exist at path: Dockerfile
Usage: container build [<options>] [<context-dir>]
See 'container build --help' for more information.Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels