# Overwriting labels during singularity container build

**URL:** <https://ask.cyberinfrastructure.org/t/overwriting-labels-during-singularity-container-build/1881>\
**Category:** Q&A\
**Tags:** singularity, qow\
**Created:** [May 11, 2021, 5:07pm UTC](https://ask.cyberinfrastructure.org/t/overwriting-labels-during-singularity-container-build/1881 "2021-05-11T17:07:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wirawan0](https://ask.cyberinfrastructure.org/user_avatar/ask.cyberinfrastructure.org/wirawan0/32/362_2.png) [@wirawan0](https://ask.cyberinfrastructure.org/u/wirawan0)\
**Post date:** [May 11, 2021, 5:07pm UTC](https://ask.cyberinfrastructure.org/t/overwriting-labels-during-singularity-container-build/1881/1 "2021-05-11T17:07:07Z")

</div>

In the course of building a Singularity container, I am building a container (call it “B”) based on another container (“A”). In the “B” container def file, I have specified labels to update the values of the labels set in “A”. Every time I build “B”, I always get this warning:

```auto
INFO: Adding labels
WARNING: Label: Author already exists and force option is false, not overwriting
WARNING: Label: Version already exists and force option is false, not overwriting

```

How do I force Singularity to overwrite the labels based on the new values in the “B” def file?

Wirawan

---

<div class="post-metadata">

**Author:** ![tru](https://ask.cyberinfrastructure.org/letter_avatar_proxy/v4/letter/t/3e96dc/32.png) [@tru](https://ask.cyberinfrastructure.org/u/tru)\
**Post date:** [July 13, 2021, 3:54pm UTC](https://ask.cyberinfrastructure.org/t/overwriting-labels-during-singularity-container-build/1881/2 "2021-07-13T15:54:55Z")

</div>

`sudo singularity build --force ...`
