Ensure the container is saved to disk after set name

ping @vieux