elchicodepython / RealityMismatch

MIT License
1 stars 1 forks source link

Access to Docker terminal through a Phaser object #2

Open elchicodepython opened 5 years ago

elchicodepython commented 5 years ago

In the game we are going to use the Game Engine Phaser.

In order to fix this issue need to make something like a ttycast with interaction between an computers inside the game and container shells.

elchicodepython commented 4 years ago

I don't know if it is better to make HTTP requests to Docker Swarm API or use the Kubernetes API to manage containers. I already have the code for making HTTP requests to a exposed Swarm API in a Lab I did before but I think Kubernetes could fit better.

Im going to try to stream the shell of a container with the help of tools like GoTTY. https://github.com/yudai/gotty

This container need to be created in a Platform like Swarm or Kubernetes but I really don't know what to choose because I already know Swam but Kubernetes seems to integrate better. Any help or ideas?