run against

Upper Intermediate (B2) neutral

to hit something or to meet a problem or rule that stops you

"The dog ran against the gate and barked loudly."