Clean config path of bind mount volume

Fix #9168

Remove config path of bind mount volume if no containers are using it.