Containers run processes, in a context where those within a container only see those within the same container, by underlying OS accounting generalization.
Containers aren't even a thing like that though. They don't run anything per se. Implementations vary but it can be as simple as an extra struct field in the process list.