@nosana/node 1.1.83 → 1.1.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/.env CHANGED
@@ -1,6 +1,6 @@
1
1
  BACKEND_SOLANA_ADDRESS=7rFPFnxjXHC2sfDy3qrDa9pEb4j49oivMuV7e8sYDPmB
2
2
  FRP_SERVER_IMAGE=registry.hub.docker.com/nosana/frpc:v1.0.45
3
- JOB_RUNTIME_IMAGE="nosana/job-runtime:v0.2.6"
3
+ JOB_RUNTIME_IMAGE="nosana/job-runtime:v0.2.7"
4
4
  RESOURCE_MANAGER_IMAGE=registry.hub.docker.com/nosana/resource-manager:v1.1.19
5
5
  FRP_SERVER_PORT=7000
6
6
  MIN_DISK_SPACE=25
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.83",
3
+ "version": "1.1.84",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "nosana-node": "./dist/src/index.js"
@@ -8,6 +8,9 @@ import type { RunContainerArgs } from '../../interface.js';
8
8
  */
9
9
  export declare function createPodmanRunOptions(image: string, args: RunContainerArgs, gpuOption: string): {
10
10
  shm_size?: number | undefined;
11
+ ipcns?: {
12
+ nsmode: string;
13
+ } | undefined;
11
14
  groups?: string[] | undefined;
12
15
  user?: string | undefined;
13
16
  no_new_privileges?: boolean | undefined;
@@ -56,6 +59,9 @@ export declare function createPodmanRunOptions(image: string, args: RunContainer
56
59
  }[] | undefined;
57
60
  } | {
58
61
  shm_size?: number | undefined;
62
+ ipcns?: {
63
+ nsmode: string;
64
+ } | undefined;
59
65
  groups?: string[] | undefined;
60
66
  user?: string | undefined;
61
67
  no_new_privileges?: boolean | undefined;
@@ -105,6 +111,9 @@ export declare function createPodmanRunOptions(image: string, args: RunContainer
105
111
  }[] | undefined;
106
112
  } | {
107
113
  shm_size?: number | undefined;
114
+ ipcns?: {
115
+ nsmode: string;
116
+ } | undefined;
108
117
  groups?: string[] | undefined;
109
118
  user?: string | undefined;
110
119
  no_new_privileges?: boolean | undefined;
@@ -82,6 +82,8 @@ export function createPodmanRunOptions(image, args, gpuOption) {
82
82
  ...(security?.noNewPrivileges ? { no_new_privileges: true } : {}),
83
83
  ...(user ? { user } : {}),
84
84
  ...(group_add ? { groups: group_add } : {}),
85
- ...(shm_size ? { shm_size } : {}),
85
+ // nosana/podman's containers.conf defaults ipcns to "host", where libpod
86
+ // refuses a shm size. A private IPC namespace gets its own /dev/shm.
87
+ ...(shm_size ? { shm_size, ipcns: { nsmode: 'private' } } : {}),
86
88
  };
87
89
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.83",
3
+ "version": "1.1.84",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@nosana/node",
9
- "version": "1.1.83",
9
+ "version": "1.1.84",
10
10
  "license": "ISC",
11
11
  "workspaces": [
12
12
  "packages/*"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nosana/node",
3
- "version": "1.1.83",
3
+ "version": "1.1.84",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "nosana-node": "./dist/src/index.js"