We infer the container from the uid when it isn't specified and ssh relies on that.