With regard to containers, if they've been identified as a hazard, whether that be to navigation or to the marine environment, yes the shipowner is liable. There is a time limit in terms of their liability, which is either three years from the time the debris or the container has been determined to be a hazard, or six years from the date that the container went overboard.
On March 29th, 2022. See this statement in context.