Docker in docker not mounting volumes

I think I just got bitten by this. Volumes seem to have been working fine for me, when the newest one I have added has broken my build. I’ve only just realised that all my previous volumes were fine when empty (since they haven’t actually mounted), and the new one needs to work (it’s for Mongo logs, and if Mongo cannot see the log file it refuses to start).

Out of interest, does anyone know what technical limitation causes this? Is there something about Docker-in-Docker that has this effect?