You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker run --rm -v <absolute-path-to-the-directory-containing-the-wasm-module>:/data danstaken/hello_world_host:latest /data/hello_world_guest.wasm 'Dan'
13
-
# for me, it is: docker run --rm -v C:\Users\danil\source\repos\serverside-wasm-book-code\chapter02\hello_world\hello_world_guest:/data danstaken/hello_world_host:latest /data/hello_world_guest.wasm 'Dan'
13
+
docker run --rm -v "$(pwd):/data" danstaken/hello_world_host:latest /data/hello_world_guest.wasm 'Dan'
14
14
```
15
15
16
16
You can also run locally, with:
17
17
18
18
```bash
19
-
# from `hello_world_host` directory
19
+
# from the `hello_world_host/` directory
20
20
cargo run -- ../hello_world_guest/hello_world_guest.wasm 'Dan'
0 commit comments