-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
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
Fig build fails in folders with names containing capital letters #655
Comments
Yep, see #541. |
As a simple workaround, would it make sense to allow the |
Yes, that would be awesome, see #45 I'm just waiting on the docker format to stabilize, then I'd like to add support for it to fig. |
Update on this? Kind of annoying! :) |
@lwansbrough |
+1 🍰 |
+1 Also, apparently if you change the name of the folder from capital to lowercase there are times were fig still chooses the capital version for some reason. That part may be unique to my setup, but it's super annoying. |
Closed by #568 |
Anyone experiencing this issue is encouraged to give Compose 1.1.0 RC2 a try! https://github.com/docker/fig/releases/tag/1.1.0-rc2 |
Steps to Reproduce
Create a folder named "FigTest".
Add a Dockerfile:
Add a fig.yml:
Run
fig build
.Expected Result
A container image would be built from the current directory.
Actual Result
Operation fails with an error from Docker: "Invalid repository name (FigTest_app), only [a-z0-9-_.] are allowed"
Discussion
It looks like Docker image names do not allow uppercase letters. Fig creates the image name from the name of the directory, with some processing to remove invalid characters, but it does not convert uppercase letters to lowercase.
The text was updated successfully, but these errors were encountered: