Skip to content

Commit 6205cd7

Browse files
committed
Consisstency in examples
1 parent 9ee03e1 commit 6205cd7

1 file changed

Lines changed: 31 additions & 28 deletions

File tree

README.md

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ An OPTIONAL IPVM `Config` MAY be included at the `meta['ipvm/config']` path. The
313313
]
314314
},
315315
"ipvm/config": {
316-
"v": "0.1.0",
317316
"secret": false,
318317
"check": {
319318
"optimistic": 17,
@@ -345,21 +344,23 @@ An OPTIONAL IPVM `Config` MAY be included at the `meta['ipvm/config']` path. The
345344

346345
``` json
347346
{
348-
"with": "ipfs://bafkreidvq3uqoxcxr44q5qhgdk5zk6jvziipyxguirqa6tkh5z5wtpesva",
349-
"can": "docker/run",
350-
"inputs": {
351-
"entrypoint": ["/", "home"],
352-
"mounts": {"mnt": "/"},
353-
"outputs": {"tmp": "/tmp"},
354-
"env": {"$HELLO": "world"},
355-
"workdir": "/work"
356-
},
357-
"meta": {
358-
"ipvm/config": {
359-
"secret": false,
360-
"check": {
361-
"optimistic": 2,
362-
"referee": "did:key:zStEZpzSMtTt9k2vszgvCwF4fLQQSyA15W5AQ4z3AR6Bx4eFJ5crJFbuGxKmbma4"
347+
"run-docker": {
348+
"with": "ipfs://bafkreidvq3uqoxcxr44q5qhgdk5zk6jvziipyxguirqa6tkh5z5wtpesva",
349+
"do": "docker/run",
350+
"inputs": {
351+
"entrypoint": ["/", "home"],
352+
"mounts": {"mnt": "/"},
353+
"outputs": {"tmp": "/tmp"},
354+
"env": {"$HELLO": "world"},
355+
"workdir": "/work"
356+
},
357+
"meta": {
358+
"ipvm/config": {
359+
"secret": false,
360+
"check": {
361+
"optimistic": 2,
362+
"referee": "did:key:zStEZpzSMtTt9k2vszgvCwF4fLQQSyA15W5AQ4z3AR6Bx4eFJ5crJFbuGxKmbma4"
363+
}
363364
}
364365
}
365366
}
@@ -368,18 +369,20 @@ An OPTIONAL IPVM `Config` MAY be included at the `meta['ipvm/config']` path. The
368369

369370
``` json
370371
{
371-
"with": {"ucan/promise": ["/", "previous_action"]},
372-
"can": "docker/run",
373-
"inputs": {
374-
"entrypoint": ["/", "home"],
375-
"mounts": {"mnt": "/"},
376-
"outputs": {"tmp": "/tmp"},
377-
"env": {"$HELLO": "world"},
378-
"workdir": "/work"
379-
},
380-
"meta": {
381-
"ipvm/config": {
382-
"disk": "200GB"
372+
"pipelined-docker-promise": {
373+
"with": {"ucan/promise": ["/", "previous_action"]},
374+
"do": "docker/run",
375+
"inputs": {
376+
"entrypoint": ["/", "home"],
377+
"mounts": {"mnt": "/"},
378+
"outputs": {"tmp": "/tmp"},
379+
"env": {"$HELLO": "world"},
380+
"workdir": "/work"
381+
},
382+
"meta": {
383+
"ipvm/config": {
384+
"disk": "200GB"
385+
}
383386
}
384387
}
385388
}

0 commit comments

Comments
 (0)