How to copy file to runing nomad task/allocation with cli or api


im wondering, when nomad task using volume. i want to transfer file from local or some config deployment to a running nomad job/task. something like docker cp to container filesystem or its volume.

thank you.

Hi @asule90,

There is not currently a nice way I can think of to achieve this; and there is certainly no docker cp equivalent. I think the idea has merit, however, and would love if you were able to raise an enhancement issue against the Nomad repo so the whole team and community gets visibility.

jrasell and the Nomad team

1 Like