# Can we access Meta Data in docker container?

**URL:** https://forum.buildkite.community/t/can-we-access-meta-data-in-docker-container/1999
**Category:** Docker
**Created:** [April 24, 2022, 2:11pm UTC](https://forum.buildkite.community/t/can-we-access-meta-data-in-docker-container/1999 "2022-04-24T14:11:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![meg](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@meg](https://forum.buildkite.community/u/meg)
#### Post date: [April 24, 2022, 2:11pm UTC](https://forum.buildkite.community/t/can-we-access-meta-data-in-docker-container/1999/1 "2022-04-24T14:11:16Z")

</div>

Can we access and set Meta Data from inside a docker container using the standard docker plugin? I would like to pass short variables between jobs, some of the values need to set by scripts inside the docker container. If not, is the only way to do this to use the artifacts plugin and write variable values to json/text files?

---

<div class="post-metadata">

### Author: ![paula](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/paula/32/954_2.png) [@paula](https://forum.buildkite.community/u/paula)
#### Post date: [April 25, 2022, 1:34pm UTC](https://forum.buildkite.community/t/can-we-access-meta-data-in-docker-container/1999/2 "2022-04-25T13:34:56Z")

</div>

Hey @meg! 👋

Welcome to the community! 🤗

Yes, I believe it’s possible. Setting meta-data it’s an agent’s command, so you should be able to access it.  
Were you able to test it? did it fail?

Best!
