smith icon indicating copy to clipboard operation
smith copied to clipboard

Always get reponame must be specified when trying to upload

Open nick-wellinghoff-sp opened this issue 8 years ago • 3 comments

I have followed the instructions and everything is working smoothly until it comes time to upload. For the life of me I can't figure out why smith can't parse the repo name. I copied and pasted the exact command in the example.

/home/nwellinghoff/smith/smith-httpd# smith upload -r \

https://nwellinghoff:<Pass>@registry-1.docker.io/nwellinghoff/smith-httpd
-i smith-httpd.tar.gz WARN[0000] pigz binary not found, falling back to internal gzip ERRO[0000] Failed to upload image to https://nwellinghoff:<Pass>@registry-1.docker.io/nwellinghoff/smith-httpd: Reponame must be specified

I am able to upload the image manually by doing a cat smith-httpd.tar.gz | docker import - nwellinghoff/smith-httpd:latest then docker push nwellinghoff/smith-httpd

but it would be nice if the smith command worked as well.

nick-wellinghoff-sp avatar Aug 14 '17 23:08 nick-wellinghoff-sp

I am able to upload to docker. I notice that the command above is missing a password? Are you specifying a password after the colon when using the command and just omitting it in the paste here?

The docker impotr / docker push does not actually create an image properly.

vishvananda avatar Aug 15 '17 02:08 vishvananda

ah i suspect i know the answer. Your password probably has special characters in it. try quoting the whole thing:

smith upload -r 'https://nwellinghoff:<Pass>@registry-1.docker.io/nwellinghoff/smith-httpd' -i smith-httpd.tar.gz

vishvananda avatar Aug 15 '17 02:08 vishvananda

did the above solve your problem?

vishvananda avatar Oct 31 '17 21:10 vishvananda