jfrog / jfrog-docker-desktop-extension

🐸 Scans any of your local Docker images for security vulnerabilities. 🐋
74 stars 12 forks source link

Login to jfrog extension with docker desktop #85

Open raksp opened 1 year ago

raksp commented 1 year ago

When i try to login to the jfrog extension on Docker Desktop i get the message 'C:\User{username} is not recognised as an internal or external command, operable program or batch file'. This happens whether i am using a basic using my username and password for Jfrog or when i obtain an access token from JFrog and use the access token. Is there a bug in the extension? or is it something i am doing wrong JFrog

sverdlov93 commented 1 year ago

Hi @raksp, Thanks for reporting this issue. Our apologies for the inconvenience caused by this. Can you provide your OS and ARCH and Docker Desktop Extension version? Also, Can you share the latest logs under /users/USER/.jfrog-docker-desktop-extension/logs?

raksp commented 1 year ago

Hi

Docker version Docker Desktop 4.12.0 (85629) is currently the newest version available. JFrog version

LATEST VERSION 1.2.1 I have no logs or directory with .jfrog-docker-desktop-extension/logs

Regards Rakesh > On 12/09/2022 09:57 Michael Sverdlov @.***> wrote:

Hi @raksp https://github.com/raksp, Thanks for reporting this issue. Our apologies for the inconvenience caused by this. Can you provide your OS and Docker Desktop Extension version? Also, Can you share the latest logs under /users//.jfrog-docker-desktop-extension/logs?

— Reply to this email directly, view it on GitHub https://github.com/jfrog/jfrog-docker-desktop-extension/issues/85#issuecomment-1243423684, or unsubscribe https://github.com/notifications/unsubscribe-auth/AETXUF6RG64IAZ6MJCR6V23V53V6JANCNFSM6AAAAAAQKHYP6E. You are receiving this because you were mentioned. https://github.com/notifications/beacon/AETXUFYVWBNJPWUZO27JMVLV53V6JA5CNFSM6AAAAAAQKHYP6GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKDUR4I.gifMessage ID: @.***>

sverdlov93 commented 1 year ago

@raksp thanks! Can you also provide the docker info using 'docker version' command?

raksp commented 1 year ago

Error response from daemon: Bad response from Docker engine Client: Cloud integration: v1.0.29 Version: 20.10.17 API version: 1.41 Go version: go1.17.11 Git commit: 100c701 Built: Mon Jun 6 23:09:02 2022 OS/Arch: windows/amd64 Context: default Experimental: true

sverdlov93 commented 1 year ago

@raksp , Looks like your docker daemon is down. Can you try starting/restarting it?

raksp commented 1 year ago

Restarted

C:\Program Files\Docker\Docker\resources>docker version Client: Cloud integration: v1.0.29 Version: 20.10.17 API version: 1.41 Go version: go1.17.11 Git commit: 100c701 Built: Mon Jun 6 23:09:02 2022 OS/Arch: windows/amd64 Context: default Experimental: true Server: Docker Desktop 4.12.0 (85629) Engine: Version: 20.10.17 API version: 1.41 (minimum version 1.12) Go version: go1.17.11 Git commit: a89b842 Built: Mon Jun 6 23:01:23 2022 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.8 GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6 runc: Version: 1.1.4 GitCommit: v1.1.4-0-g5fd4c4d docker-init: Version: 0.19.0 GitCommit: de40ad0 Kubernetes: Version: Unknown StackAPI: Unknown C:\Program Files\Docker\Docker\resources>

On 14/09/2022 10:58 Michael Sverdlov @.***> wrote:

@raksp https://github.com/raksp , Looks like your docker daemon is down. Can you try starting/restarting it?

— Reply to this email directly, view it on GitHub https://github.com/jfrog/jfrog-docker-desktop-extension/issues/85#issuecomment-1246525591, or unsubscribe https://github.com/notifications/unsubscribe-auth/AETXUF5PCDDZWZ337KYJMADV6GOU5ANCNFSM6AAAAAAQKHYP6E. You are receiving this because you were mentioned. https://github.com/notifications/beacon/AETXUF6N6LIDN3HNUHOMPVDV6GOU5A5CNFSM6AAAAAAQKHYP6GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKJR4JO.gifMessage ID: @.***>

sverdlov93 commented 1 year ago

Is the extension still not working after the restart?

raksp commented 1 year ago

No, still errors with the same message 'C:\User{username} is not recognised as an internal or external command, operable program or batch file'

raksp commented 1 year ago

Error response from daemon: Bad response from Docker engine Client: Cloud integration: v1.0.29 Version: 20.10.17 API version: 1.41 Go version: go1.17.11 Git commit: 100c701 Built: Mon Jun 6 23:09:02 2022 OS/Arch: windows/amd64 Context: default Experimental: true

On 12/09/2022 10:23 Michael Sverdlov @.***> wrote:

@raksp https://github.com/raksp thanks! Can you also provide the docker info using 'docker version' command?

— Reply to this email directly, view it on GitHub https://github.com/jfrog/jfrog-docker-desktop-extension/issues/85#issuecomment-1243456187, or unsubscribe https://github.com/notifications/unsubscribe-auth/AETXUF2VGVCK3GV4PE2BJYDV53ZADANCNFSM6AAAAAAQKHYP6E. You are receiving this because you were mentioned. https://github.com/notifications/beacon/AETXUFYEIR56CQOZHTKE2ZLV53ZADA5CNFSM6AAAAAAQKHYP6GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKDWRLW.gifMessage ID: @.***>

yonisa3 commented 1 year ago

@sverdlov93 image I get the same error message. I think it is related to my Windows user name which has a whitespace in it. The fix would be probably to add " before and after the path when executing a command line in the Docker extension.

mambroziak commented 1 month ago

Was this ever resolved? I'm having the same issue.