Skip to content

Conversation

@am0o0
Copy link
Contributor

@am0o0 am0o0 commented Aug 13, 2025

@leonardo-doyensec
Copy link
Contributor

Hello @am0o0.
Thank you for contribution. Can you please implement the testbed using Docker?

Feel free to reach out
~ Leonardo (Doyensec)

@am0o0
Copy link
Contributor Author

am0o0 commented Aug 21, 2025

@leonardo-doyensec Hello 👋
Im not sure about Docker since the Nomad need to have docker installed on the system, I'm not sure how it is possible.

@leonardo-doyensec
Copy link
Contributor

What about https://hub.docker.com/r/hashicorp/nomad?

@am0o0
Copy link
Contributor Author

am0o0 commented Aug 21, 2025

Ok sorry, let me check further.

@am0o0
Copy link
Contributor Author

am0o0 commented Aug 21, 2025

@leonardo-doyensec, I had to use --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:rw switches to run the Nomad. If you have any other solutions, I'd like to learn :)

@giacomo-doyensec
Copy link
Contributor

Hi @am0o0, I got it working without --privileged just like this

docker run --rm -it \
  -v /sys/fs/cgroup:/sys/fs/cgroup:rw \
  -p 4646:4646 \
  hashicorp/nomad:1.10 \
  agent -dev -bind 0.0.0.0 -network-interface='{{ GetDefaultInterfaces | attr "name" }}'

Could you also provide a safe version of the testbed?
Thanks and feel free to reach out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants