Have you tried (p)mapping over the elements of the container array? I.e., replace
pmap(1:length(container.x)) do i
with
pmap(container.x) do xi
(I don’t know if this will actually avoid copying the container to all workers, but it might be worth a try.)