microsoft / tyger

Remote signal processing.
https://microsoft.github.io/tyger/
MIT License
24 stars 9 forks source link

Allow Tyger to run in Docker #103

Closed johnstairs closed 6 months ago

johnstairs commented 6 months ago

This change allows you to install Tyger in a local Docker environment instead of the cloud. When installed, you get a number of containers:

We are also introducing "ephemeral" buffers, where the data is relayed to/from the run container without being persisted.

This is designed to be local to Docker host and uses standard Unix permissions on a domain sockets for security. To access this from a remote machine, you can do tyger login ssh://myhost and every command will use SSH to execute on the Tyger/SSH host.

Distributed runs and resource governance are not supported, but otherwise the Docker mostly implements the same functionality as the cloud version. We therefore run the same integration tests in multiple contexts (skipping them where the functionality is not implemented or not applicable). To develop in Docker mode, run make open-docker-window and the build and test makefile commands are implemented in the Docker context.