gem install sensu-plugins-docker
ERROR: Could not find a valid gem 'sys-proctable' (= 0.9.8) in any repository
ERROR: Possible alternatives: sys-proctable
looks like the verison of sys-proctable you are using isn't there anymore, and it won't run on the newer version either.
ruby metrics-docker-stats.rb
/usr/lib/ruby/2.4.0/rubygems/dependency.rb:310:in `to_specs': Could not find 'sys-proctable' (= 0.9.8) - did find: [sys-proctable-1.2.1] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/root/.gem/ruby/2.4.0:/usr/lib/ruby/gems/2.4.0', execute `gem env` for more information
from /usr/lib/ruby/2.4.0/rubygems/specification.rb:1445:in `block in activate_dependencies'
from /usr/lib/ruby/2.4.0/rubygems/specification.rb:1434:in `each'
from /usr/lib/ruby/2.4.0/rubygems/specification.rb:1434:in `activate_dependencies'
from /usr/lib/ruby/2.4.0/rubygems/specification.rb:1416:in `activate'
from /usr/lib/ruby/2.4.0/rubygems.rb:220:in `rescue in try_activate'
from /usr/lib/ruby/2.4.0/rubygems.rb:213:in `try_activate'
from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
from /usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from metrics-docker-stats.rb:41:in `<main>'
(failed reverse-i-search)`insall': cd /usr/lib/ruby/gems/2.4.0/gems/sensu-plugins-docker-3.1.1/lib/sensu-plug^Cs-docker
looks like the verison of sys-proctable you are using isn't there anymore, and it won't run on the newer version either.