0

I'm quite new to Nomad and i'm looking to deploy a docker container which contains a specific file. I know Nomad has a docker driver built in, so would this be the correct action to take: 1. create a dockerfile which copies the file I want 2. use the image built from that dockerfile to use in the Nomad (in the config{} block?

Or, From looking at similar questions e.g. here, I would put in the args variable the docker cp file.yml commands to copy the file into the container

I'd also like to know where to actually see the container if it were successfully deployed along with the file? Would I just type in docker container list?

  • can you create a docker image with your file? Publish it to the repo and then you can easily run it with nomad. – Stas Feb 21 '22 at 08:56

0 Answers0