# Using custom labels

**URL:** <https://forums.suse.com/t/using-custom-labels/3118>\
**Category:** Rancher 1.x\
**Created:** [June 15, 2016, 9:10am UTC](https://forums.suse.com/t/using-custom-labels/3118 "2016-06-15T09:10:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmls](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jmls/32/1419_2.png) [@jmls](https://forums.suse.com/u/jmls)\
**Post date:** [June 15, 2016, 9:10am UTC](https://forums.suse.com/t/using-custom-labels/3118/1 "2016-06-15T09:10:05Z")

</div>

using the **io.rancher.container.create\_agent** label rancher goes and “does stuff” to populate an environment variable in the container

Can I implement my own routines / custom labels in this manner ? I would also like to “do some stuff” (for example, generate a single-use token) when a container / environment starts up

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [June 15, 2016, 5:37pm UTC](https://forums.suse.com/t/using-custom-labels/3118/2 "2016-06-15T17:37:38Z")

</div>

No, at least short of forking Cattle.
