Hello-world Program On Docker

Now that we have set up docker, we could run the following command directly in VS Code terminal(or the bash of your if you prefer ssh docker container directly).

Similarly, build iwasm vmcore.

cd product-mini/platforms/linux
mkdir build && cd build
cmake ..
make 

Then you are ready to go to the directory that contains the hello world program and copy our iwasm vmcore

cp iwasm ../../app-samples/hello-world
cd ../../app-samples/hello-world
./build.sh

Now you can execute your first wasm program!

./iwasm test.wasm

Last updated