This is a great point and has bugged me for for the past few months - I'm sat there watching my 'npm install' whir by and I'm thinking - 'I reckon this is not the "docker way"'
Having said - I'm still trying to work out the combination of source repo and docker repo - i.e. 1 dev makes a code change - they commit the code to github - they then commit the docker image to the registry.
Now - does developer number 2 'git pull' or 'docker pull'
What I really like is how docker does not really enforce anything upon you - leaving the above question to be answered any which way.
Docker ftw!