Example of Rust project using the cargo-chef dagger action
- install dagger
- run
dagger do build
- run
docker run app
If you're using colima, the socket path is in ~/.colima/docker.sock
instead of /var/run/docker.sock
.
You may change it in dagger.cue or create a symlink with sudo ln -s ~/.colima/docker.sock /var/run/docker.sock
.