If the annual tax forms are any indication railroad workers in the US have all sorts of separate rules and whatnot. In the US the right to strike is something that can be bargained in most industries which is why, in the Bay Area, BART workers can and have struck while Muni workers resort to "wildcat strikes". Muni workers bargained away their right to strike in exchange for something I've since forgotten. As far as port workers, they are not prohibited from work action. The ILWU (the dominant West Coast longshoreman union) has a loooooooong history of work action to support various political causes from anti-war to police brutality. Before the sanctions kicked in ILWU refused to unload cargo from Russian ships in solidarity with Ukraine.
Realistically the rail workers almost certainly don't need to strike to cause pain. They can likely slow things down dramatically by following rules and regs to the letter. Perhaps we'll start to see infrastructure sabotaged. Maybe dockworkers will refuse to handle rail cargo. Maybe Teamsters will refuse to do last mile for rail cargo. Who knows.
Realistically the rail workers almost certainly don't need to strike to cause pain. They can likely slow things down dramatically by following rules and regs to the letter. Perhaps we'll start to see infrastructure sabotaged. Maybe dockworkers will refuse to handle rail cargo. Maybe Teamsters will refuse to do last mile for rail cargo. Who knows.