Module: Dockerspec::Helper::Docker
- Defined in:
- lib/dockerspec/helper/docker.rb
Overview
Some helper methods to get information of the Docker environment in the system.
Class Method Summary collapse
-
.lxc_execution_driver? ⇒ Boolean
Detects if we are using the Docker LXC execution driver.
Class Method Details
.lxc_execution_driver? ⇒ Boolean
Detects if we are using the Docker LXC execution driver.
39 40 41 |
# File 'lib/dockerspec/helper/docker.rb', line 39 def self.lxc_execution_driver? ::Docker.info['ExecutionDriver'].start_with?('lxc') end |