MStrap::Docker
Inherits MStrap::DSL / MStrap::DSL::System / MStrap::DSL::Logging / Reference / Object
Instance methods
compose_file_args(config)
Returns a collection of flags for docker compose to use services.yml
for the loaded profiles.
ensure_compose!
Check for docker compose and raise if not found. On macOS, this will loop until you confirm the
command line tools have been installed for Docker Desktop
install!
Installs Docker on the target system, if it's not installed.
On certain platforms, this may exit mstrap and print a message about
requiring a reboot.
requires_sudo?
Returns whether Docker requires sudo to run (i.e. is the user in the docker group or not)