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
Invalid repository name (sequenceiq\hadoop-docker), only [a-z0-9-_.] are allowed #56
Comments
Somewhat speculative: If I understand correctly, MSYS/MSYS2 does a special argument translation when it invokes a non-MSYS/MSYS2 program. The translation does conversions like:
Cygwin doesn't do this translation, but instead provides a tool, I think the docker.exe program is a plain Windows console program (i.e. not MSYS, MSYS2, Cygwin, etc). This repository builds a When winpty is built for MSYS/MSYS2, it should probably follow the MSYS/MSYS2 convention, but then it will do the wrong thing in your case. I suspect that Docker's version of winpty did add the translation, but I haven't dug into it yet. winpty is packaged for MSYS2; maybe that packaging adds the translation step. The easiest way to implement the translation would be to call [Aside: it's a little curious that Docker is translating the VM's terminal output to console API calls, then using winpty to reconstruct terminal output from the console screen buffer. In principle, Docker could feed the VM terminal output directly to mintty.] |
I just tried to use the backward slash with the idea that it would be translated into the forward slash. And it changed the result, sort of. For the record, here is the result:
So naturally, I tried to use two backward slashes. Sadly, this did not work:
I was hopeful for a minute, but I'm sad again. Should I be pursuing this issue on this forum or on the 'docker toolbox' forum? |
This is not
But I couldn't find out yet, if the |
And I haven't found a way to avoid that conversion... :-( |
I don't have access to my terminal now, but someone suggesting using ^ On Fri, Nov 6, 2015 at 10:34 AM, Kosta notifications@github.com wrote:
|
I wouldn't expect I guessed correctly -- the extra conversion was added for the MSYS2 packaging: https://github.com/Alexpux/MSYS2-packages/blob/master/winpty-git/0002-Add-support-for-conversion-of-all-argv-path-args.patch Edited to add: It's going to be impossible to avoid the slash conversion with the existing |
For MSYS2, the function winpty needs is
Curiously, the Alternatively, when the winpty |
I tried to use the ^ character as an escape just for completeness. And yes, it did not help. I'd be happy to help resolve this issue if there was something I can do. If you want me to run a debug version of winpty I'd be happy to try. Unfortunately I don't have the knowledge to help with the coding. |
For the time being, I think you could build this winpty repository for MSYS2 and run |
I got the idea to rename (actually retag) the image that I'm trying to use:
Then I tried to use that new name. And got a different error:
|
It's the same problem. |
I have a workaround. A hack. But it's enough to close this ticket.
Now hadoop is running. Thanks for helping me to understand the issues. |
winpty seems great but I have run to a problem when using it with Docker. It seems like winpty is not passing the image names with slashes to Docker. I tried different combinations of quotes and slashes.
The docker command runs correctly on my Ubuntu laptop.
Any suggestions?
The text was updated successfully, but these errors were encountered: