Skip to content

Instantly share code, notes, and snippets.

View dvoita's full-sized avatar

Don Voita dvoita

  • AppFolio, Inc
View GitHub Profile
#!/usr/bin/env ruby
# Wraps 'rkt gc' to handle when rkt cannot successfully remove an old pod
# because it is still mounted in some processes' namespace. To use, pass
# options you would normally pass to 'rkt gc':
# Example: sudo ./rkt-gc.rb --grace-period=0s
require 'open3'
def with_error_handling

Keybase proof

I hereby claim:

  • I am dvoita on github.
  • I am dvoita (https://keybase.io/dvoita) on keybase.
  • I have a public key whose fingerprint is 36CE 57F2 CEA8 3595 4FE2 755B 8A9A D191 7EC0 A69D

To claim this, I am signing this object: