# Add a label to the Docker container

**URL:** <https://meta.discourse.org/t/add-a-label-to-the-docker-container/230254>\
**Category:** Sysadmins\
**Tags:** docker, how-to\
**Created:** [June 17, 2022, 6:40am UTC](https://meta.discourse.org/t/add-a-label-to-the-docker-container/230254 "2022-06-17T06:40:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Grunskin](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@Grunskin](https://meta.discourse.org/u/Grunskin)\
**Post date:** [June 17, 2022, 6:40am UTC](https://meta.discourse.org/t/add-a-label-to-the-docker-container/230254/1 "2022-06-17T06:40:05Z")

</div>

Just as I was writing a post asking how to add a label to a discourse container I figured it out so I thought I would share here so people my find it easier when googling.

I wanted to add a label to my discourse container so Watchtower wouldn’t try to update it every time.

I just overlooked the help that the `launcher` script printed and didn’t notice the `--docker-args`

To add the label I wanted I had to start it with the following:

```
./launcher start app --docker-args "--label com.centurylinklabs.watchtower.enable=false"

```

I had been googling and looking around for over a day and couldn’t find anyone that wanted to do the same thing so I thought I would post this and hopefully someone will find it useful.

---

_[View the full topic](https://meta.discourse.org/t/add-a-label-to-the-docker-container/230254)._
