Skip to content

Commit

Permalink
Merge branch 'main' of gitlab.com:nosana-ci/apps/platform/nosana-node
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisses committed Feb 16, 2023
2 parents 0821e35 + 5673d3b commit 7d46cf8
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@
Nosana container engine used for running jobs on the Nosana network.
Learn more at [nosana.io](https://nosana.io).

## TL/DR

To get up and running with your own Nosana Node:

```shell
$ brew install nosana-ci/tools/nosana-node

$ nosana-node
```

## Building

It's recommended to use Clojure version 1.10.x and JVM 11.
Expand Down Expand Up @@ -112,24 +122,23 @@ PODMAN_URI=localhost:8080 java -jar target/node-0.0.189-standalone.jar

### Start Podman

You will have to run a local non-privileged Podman container:
You will have to run a local non-privileged, and rootless, Podman container, with `docker`:

```bash
sudo docker run -d \
(sudo) docker run -d \
--name podman \
--device /dev/fuse \
--security-opt seccomp=unconfined \
--security-opt apparmor=unconfined \
--security-opt label=disable \
--cap-add sys_admin \
--cap-add mknod \
--user 1000:1000 \
-p 8080:8080 \
quay.io/podman/stable podman system service \
--time 0 tcp:0.0.0.0:8080
nosana/podman podman system service --time 0 tcp:0.0.0.0:8080
```

Podman will be used to spin up containers for Nosana jobs.

Alternatively, when you're using `containerd` as your container engine.
you may replace `docker` with `nerdctl` in above command.

### Hacking locally

To quickly start a development REPL, and spin up the node:
Expand Down

0 comments on commit 7d46cf8

Please sign in to comment.