Skip to content

Instantly share code, notes, and snippets.

@mingderwang
mingderwang / gist:a78dbda045a63f6e8d43b5fb74f2274a
Created February 11, 2020 04:15
Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY` (when you try to docker login but fail)
//solution
sudo apt install gnupg2 pass
@maxivak
maxivak / readme.md
Last active March 22, 2023 12:03
Chef. How to run scripts (recipes)

Run Chef scripts locally

There are several options to run recipes:

  • using chef-client with -z option
  • using chef-apply
  • using chef-solo

Before running Chef recipes on the machine, it should be prepared: