fix duplicate entries when restarting docker daemon