lib/docker/resource/container.rb
def show(container_id)
    response = @connection.get("/containers/#{container_id}/json")
    raise_if_container_not_found(response.status)
    response.body_as_json
  end
# inspect is a Ruby internal method that should not be overwritten 
# therefore we use show as it displays the container details
inspect is a Ruby internal method that should not be overwritten
therefore we use show as it displays the container details
inspect is a Ruby internal method that should not be overwritten therefore we use show as it displays the container details
def show(container_id)
    response = @connection.get("/containers/#{container_id}/json")
    raise_if_container_not_found(response.status)
    response.body_as_json
  end
def show ( container_id ) response = @connection . get ( "/containers/#{container_id}/json" ) raise_if_container_not_found ( response . status ) response . body_as_json end
inspect is a Ruby internal method that should not be overwritten
therefore we use show as it displays the container details
inspect is a Ruby internal method that should not be overwritten therefore we use show as it displays the container details
container_id