docker doesn't actually appear to choke when then are both specified but the docs do indeed have an or there. I would rather closely match the docs.