hashicorp / hashicorp/nomad

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

Open
#10,835 5 comments 7 reactions 0 assignees View on GitHub
theme/allocation API theme/cli type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Proposal
Hello,

as @jrasell suggested, i asked if there is already a way to do this to [hashicrop discussion](https://discuss.hashicorp.com/t/how-to-copy-file-to-runing-nomad-task-allocation-with-cli-or-api/26106), but unfortunately, there is no way. So im posting it here.
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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked HashiCorp discussion to understand the existing limitation and the requested behavior. Scope the CLI or API entry point for copying a local or deployment-provided file into a running Nomad task or allocation, and define done as a documented, working equivalent of docker cp for the task filesystem or volume.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.