Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Kasm - Virtual Desktop / Browser Isolation

    App Wishlist
    3
    13
    107
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      murgero App Dev @robi last edited by

      @robi No, I can see how it can load desktops and such - it's the way the server backend is installed - using multiple different containers that one app can't use on it's own without Cloudron adding a new "addon"

      robi 1 Reply Last reply Reply Quote 0
      • robi
        robi @murgero last edited by

        @murgero this sounds like a perfect use case for Sysbox.

        That way a full machine image can be installed with Kasm to have access and control over all the containers.

        Docker in docker, the outer one managed by Cloudron, the inner one by Kasm.

        M 1 Reply Last reply Reply Quote 0
        • M
          murgero App Dev @robi last edited by

          @robi Kasm already supports full desktops in docker - or it at least gives the illusion of it. ❤

          robi 1 Reply Last reply Reply Quote 0
          • robi
            robi @murgero last edited by

            @murgero I am aware 😉 hence my comment.

            if you want to split the bounty on this one, I'll help with Sysbox.

            M 1 Reply Last reply Reply Quote 0
            • M
              murgero App Dev @robi last edited by

              @robi I'd love to - I just don't know where to start tbh

              1 Reply Last reply Reply Quote 0
              • robi
                robi last edited by robi

                I would start with the outer part, which means helping the Cloudron team integrate Sysbox.

                It would require a new base container image that runs with a new container runtime (sysbox) instead of the default. This is just an extra parameter in the docker run command.

                $ docker run --runtime=sysbox-runc -it some-image
                

                All else stays the same.

                In this container, you can now run Systemd, Docker, Kubernetes, etc., just like you would on a physical host or virtual machine. You can launch inner containers (and even inner privileged containers), knowing that the outer container is strongly isolated from the underlying host (via the Linux user-namespace). No more complex docker images or docker run commands, and no need for unsecure privileged containers.

                M 1 Reply Last reply Reply Quote 0
                • M
                  murgero App Dev @robi last edited by

                  @robi It would be more ideal to get the Kasm devs to also give a build not reliant on docker - so we can dockerize it ourselfs, or at least I would think that way anyway.

                  Sysbox is pretty cool but I'm sure that would require a complete overhaul of current code?

                  1 Reply Last reply Reply Quote 0
                  • robi
                    robi last edited by

                    I am going to disagree here. The docker solution is elegant and doesn't pollute the filesystem with lots of X libraries and other junk.

                    In fact the sysbox-runc is more secure than the current one, hence if Cloudron decided to use it, all it would take is a one parameter addition.

                    --runtime=sysbox-runc
                    

                    no overhaul required.

                    M 1 Reply Last reply Reply Quote 1
                    • M
                      murgero App Dev @robi last edited by

                      @robi Oh wow - if that's the case then it definitely is at least worth more research and discussion.

                      robi 1 Reply Last reply Reply Quote 1
                      • robi
                        robi @murgero last edited by

                        @murgero 💯

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post