piker icon indicating copy to clipboard operation
piker copied to clipboard

Containerized GUIs, x-in-`docker`

Open goodboy opened this issue 6 years ago • 2 comments

Eventually I want out of the box support for pikers to host and share real-time broker data with whomever they chose (hopefully other newly indoctrinated pikers). Including support for a scalable and maintainable deployment system is of utmost concern. Not only do I want to make it easy to deploy backend data feed infra I have ideas about client software being containerized and immutable providing guarantees about the trustworthiness and reliability of the human facing parts.

This starts discussion surrounding which stacks could/should be candidates.

container orchestration:

containerizing GUI apps:

  • lotsa options mentioned on this SO question
  • https://github.com/subuser-security/subuser
  • http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/
  • https://github.com/fgrehm/docker-netbeans
  • https://github.com/sameersbn/docker-browser-box

NixOS based container generation

Turns out that we can also just render/generate container (files) from nix configs so it's likely going to be much more handy to use the #456 work and the nixos docker build guide to solve most of this.

The larger question is how hard is it to get something like the above full gui in docker style projects rendered via nix.

goodboy avatar Apr 28 '19 20:04 goodboy

https://github.com/mviereck/x11docker

goodboy avatar May 24 '22 22:05 goodboy

Big dump of related browser (research) tabs I had:

https://github.com/mviereck/x11docker#terminal-syntax https://linuxmeerkat.wordpress.com/2014/10/17/running-a-gui-application-in-a-docker-container/ https://github.com/waytrade/ib-gateway-docker https://github.com/dvasdekis/ib-gateway-docker-gcp/blob/v978/ib/jts.ini https://github.com/antequant/ib-gateway-docker https://login.docker.com/u/login/identifier?state=hKFo2SA5RlotLVM1NjBSczVVOHl5SmJwbW9KYVQxRXZoRkVVQ6Fur3VuaXZlcnNhbC1sb2dpbqN0aWTZIE9aTzYzd0xkdW1keHNjWEtuTlpTUEJIVVh0eEZZT2w0o2NpZNkgbHZlOUdHbDhKdFNVcm5lUTFFVnVDMGxiakhkaTluYjk https://github.com/IbcAlpha/IBC/pull/122/files https://docs.docker.com/compose/compose-file/#ports https://docs.docker.com/compose/compose-file/#network_mode https://stackoverflow.com/questions/53256950/docker-container-ip-addresses-mapping https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation https://docs.podman.io/en/latest/Commands.html https://docs.docker.com/engine/security/rootless/ https://docs.docker.com/search/?q=healthcheck https://docs.docker.com/engine/reference/builder/#healthcheck https://github.com/mviereck/x11docker https://github.com/mviereck/x11docker#internet-access https://github.com/sameersbn/docker-browser-box https://github.com/fgrehm/docker-netbeans https://github.com/subuser-security/subuser http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/

goodboy avatar Feb 21 '23 00:02 goodboy