Fix #382

Docker-DCO-1.1-Signed-off-by: Mangled Deutz <olivier@webitup.fr> (github: dmp42)
Merge pull request #385 from dotcloud/fix-#382

Fix #382