def METHOD_NAME(sinsp, run_containers: dict):
    # Use a specific local port so validation of events is easier
    local_port = 40000
    nginx_container = run_containers['nginx']
    curl_container = run_containers['curl']
    destination = {
        'id': get_container_id(nginx_container),
        'ip': get_network_data(nginx_container)
    }
    origin = {
        'id': get_container_id(curl_container),
        'ip': f'{get_network_data(curl_container)}:{local_port}',
        'local_port': local_port
    }
    curl_container.exec_run(
        f'curl --local-port {local_port} {destination["ip"]}')
    assert_events(expected_events(origin, destination), sinsp)