Method: Dip::Commands::Nginx::Down#execute

Defined in:
lib/dip/commands/nginx.rb

#executeObject



45
46
47
48
# File 'lib/dip/commands/nginx.rb', line 45

def execute
  exec_subprocess("docker", "stop #{@name}", panic: false, out: File::NULL, err: File::NULL)
  exec_subprocess("docker", "rm -v #{@name}", panic: false, out: File::NULL, err: File::NULL)
end