Class: SmartMachine::Commands::Docker

Inherits:
Thor
  • Object
show all
Includes:
Utilities
Defined in:
lib/smart_machine/commands/docker.rb

Instance Method Summary collapse

Instance Method Details

#installObject



7
8
9
10
11
12
# File 'lib/smart_machine/commands/docker.rb', line 7

def install
  inside_machine_dir do
    docker = SmartMachine::Docker.new
    docker.install
  end
end

#uninstallObject



15
16
17
18
19
20
# File 'lib/smart_machine/commands/docker.rb', line 15

def uninstall
  inside_machine_dir do
    docker = SmartMachine::Docker.new
    docker.uninstall
  end
end