class Object
Public Instance Methods
latest_running_container_id()
click to toggle source
# File lib/tasks/docker.rb, line 75 def latest_running_container_id container_id = `docker container ls --latest --quiet --filter status=running --filter name=ruby-static-tracing*`.strip if container_id.empty? raise 'No containers running, please run rake docker:run and then retry this task' else container_id end end