Can we access Meta Data in docker container?

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?

Hey @meg! :wave:

Welcome to the community! :hugs:

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?