Linux Subsystem Windows 10 Error Installing Docker: gpg: can't connect to the agent: IPC connect call failed

Question: How do you resolve "gpg: can't connect to the agent: IPC connect call failed" when installing Docker on Windows Subsystem Linux?

Solution: This error happens when you upgrade the  Windows SubSystem Linux (WSL) 1 to WSL 2 and you try to download gpg1, mainly telling you that the versions aren't compactable. Follow solution below to resolve the issue:

- Type in : sudo autoremove #to remove low hanging dependecies that haven't been used
- Type in: sudo apt-get install gnupg1 #If this command go through then you should be good to go
- Type in: curl -fsSL | sudo apt-key add - #If you see 'OK' printed to your screen then you have successfully installed gpg your Linux Subsystem.

Edit this Article
Docker Linux SubSystem Docker Docker published
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.

Your Session is Ending
Login to Continue

© 2021 - ErnesTech - Privacy