Push Docker images as part of the release workflow (#1037)

This commit is contained in:
John Maguire
2024-05-02 09:37:11 -04:00
committed by GitHub
parent f39bfbb7fa
commit b5c3486796
5 changed files with 107 additions and 1 deletions

24
docker/README.md Normal file
View File

@@ -0,0 +1,24 @@
# NebulaOSS/nebula Docker Image
## Building
From the root of the repository, run `make docker`.
## Running
To run the built image, use the following command:
```
docker run \
--name nebula \
--network host \
--cap-add NET_ADMIN \
--volume ./config:/config \
--rm \
nebulaoss/nebula
```
A few notes:
- The `NET_ADMIN` capability is necessary to create the tun adapter on the host (this is unnecessary if the tun device is disabled.)
- `--volume ./config:/config` should point to a directory that contains your `config.yml` and any other necessary files.