Why docker login command saves unencrypted password on my computer?

前端 未结 2 776
温柔的废话
温柔的废话 2021-01-11 16:18

I\'ve used docker login command and passed my credentials and I got warning WARNING: login credentials saved in /Users/{my_username}/.docker/config.json

相关标签:
2条回答
  • 2021-01-11 16:53

    You can use Credential Store for this purpose. Here is the offical doc from Docker:

    Credential Store

    0 讨论(0)
  • 2021-01-11 16:58

    There is a lot of discussion about this:

    https://github.com/docker/docker/issues/10318

    It will get fixed eventually, although it's not yet clear how. In particular, note this comment:

    To sum this:

    • sure, things need to be fixed
    • there is an open effort in doing that (#distribution), and people are certainly welcome to join if they want - either way, the issue here is definitely something being worked on
    • we should aim for the right solution - not just "any solution as fast as possible" - this will take time and energy, but I'm confident we will get there
    0 讨论(0)
提交回复
热议问题