lib/dockistrano/service.rb
# Stops the container of the current service
Stops the container of the current service
Stops the container of the current service
def stop
      update_hipache(false)
      Docker.stop(image_name)
      Docker.remove_container(image_name)
      additional_commands.each do |name, _|
        Docker.stop("#{image_name}_#{name}")
        Docker.remove_container("#{image_name}_#{name}")
      end
    end
def stop update_hipache ( false ) Docker . stop ( image_name ) Docker . remove_container ( image_name ) additional_commands . each do | name , _ | Docker . stop ( "#{image_name}_#{name}" ) Docker . remove_container ( "#{image_name}_#{name}" ) end end
Stops the container of the current service
Stops the container of the current service