I want to write a quick demo example that matches closely to docker run hello-world
I tried dagger core container from --address=hello-world stdout:
✔ connect 0.5s
✔ loading type definitions 0.8s
✔ parsing command line arguments 0.0s
✔ container: Container! 0.0s
○ .from(address: "hello-world"): Container! 0.8s
✘ .stdout: String! 0.0s
! no command has been set: stdout requires an exec
- Why does stdout require an exec?
- How can I get the stdout of scratch images like hello-world?