-
Notifications
You must be signed in to change notification settings - Fork 989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile support #736
Dockerfile support #736
Conversation
I have just noticed that PR #68 also exists but not merged. While it may work, mine is more up-to-date, makes use of Makefile's |
Also tried with nebula lighthouse node deployed on a Linode instance Debian 9.13 Docker with current example configuration and Windows client (1 lighthouse and one client on the Internet). ✔️ |
This specifically uses the linux-amd64 build so I think it needs to pull proper file from build either for running platform or all platforms (so that it can be published to a repo and work with aarm64, etc). Good work and idea. |
We're going to try to get #1037 merged in an upcoming release. Going to close this out. Thanks for the help! |
Hey all!
I felt the need to add a Dockerfile (and .dockerignore) to this repo seeing as how I'd want to run this on a Docker container where it can persist and restart with the host machine. Personally, this makes it so much easier than downloading the binary and creating a system service whereas a simple container can be loaded on the go.
Do note that with this Dockerfile,
nebula-cert
is not included, though that can be changed within theCOPY
command. Also, this uses the latest tag ofgolang
for building and runtime, just to note for later if a stable release tag needs to be used if any.Also, it would be ideal if some automated Dockerhub image publishing happens so users don't have to clone this repo and build image locally but instead, use something like
docker pull slackhq/nebula
.I recommend trying this on different platforms too (macOS and Windows) just to ensure this works and doesn't break anything.
Tried with nebula lighthouse node deployed on Ubuntu 22.04.1 LTS Docker with current example configuration and Windows client (1 lighthouse and one client on local network).