Rich editors in a Docker development environment

前端 未结 2 1134
余生分开走
余生分开走 2021-01-30 14:24

So my team and I have bought into Docker - it is fantastic for deployment and testing. My real question is how to set up a great developer experience, specifically around writi

2条回答
  •  长发绾君心
    2021-01-30 15:18

    Could use x11docker

    • x11docker allows to run graphical desktop applications (and entire desktops) in Docker Linux containers.
    • Docker allows to run applications in an isolated container environment. Containers need much less resources than virtual machines for similar tasks.
    • Docker does not provide a display server that would allow to run applications with a graphical user interface.
    • x11docker fills the gap. It runs an X display server on the host system and provides it to Docker containers.
    • Additionally x11docker does some security setup to enhance container isolation and to avoid X security leaks. This allows a sandbox environment that fairly well protects the host system from possibly malicious or buggy software.
    1. https://github.com/mviereck/x11docker
    2. https://github.com/mviereck/x11docker/wiki (extensive! knowledge)
    3. https://dev.to/brickpop/my-dream-come-true-launching-gui-docker-sessions-with-dx11-in-seconds-1a53

提交回复
热议问题