I have a problem with Nomad. I’m trying to start a nomad job in a nomad docker container. if I do it manually (docker exec -it containerName bash and then nomad job run jobName.nomad), it works. did any of you already do this ? i tried with docker-compose :
Error submitting job: Put http://127.0.0.1:4646/v1/jobs: dial tcp 127.0.0.1:4646: connect: connection refused.
My agent is running.
My goal is this process (to automate the start of the nomad job using Docker). I would be happy if you can help me.