Making media server container environment agnostic