Docker image with Nomad inside of it to be used as CLI tool.
This image is unofficial and not intended to run Nomad agents; it is supposed to be a utility container for deployment pipelines.
docker run \
-v ${PWD}/service.nomad:/service.nomad \
weissmedia/nomad-cli \
nomad run \
-address=http://your-nomad:4646 \
service.nomad
You can find the images on Dockerhub https://hub.docker.com/r/hendrikmaus/nomad-cli/
The
latest
tag should always be nomad stable; please open an issue if I missed to update.
GitHub Actions runs every day at 1730 hours.
Important: Check ssh-add -L locally to see if the public keys are visible to the agent. If they are not, try to run ssh-add -K.
make show-arch
make build/linux_amd64 # for the own system architecture
make build-multi/linux_amd64 # for the multi system architecture
make push/linux_amd64 # build and push the image of the multi system architecture with all tags
You can find all releases and checksums at https://releases.hashicorp.com/nomad/
I am more than happy to accept any help in further automating and improving this.