class

MStrap::Docker

Inherits MStrap::DSL / MStrap::DSL::System / MStrap::DSL::Logging / Reference / Object

Instance methods

app_path

Returns the path to an installed Docker Desktop application

Source
compose_file_args(config)

Returns a collection of flags for docker compose to use services.yml for the loaded profiles.

Source
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

Source
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.

Source
requires_sudo?

Returns whether Docker requires sudo to run (i.e. is the user in the docker group or not)

Source