workspaces-issues icon indicating copy to clipboard operation
workspaces-issues copied to clipboard

[ Question ] single docker container/session for multiple users

Open narainaDewasi opened this issue 1 year ago • 4 comments

As I understand, each session has one docker container, so i am exploring the possibility of running a single session, such as a chrome browser instance, to allow multiple users to utilize it concurrently .

NOTE : Each user should have a separate account for Chrome browsers.

However, when attempting to implement this, I encounter the following error:

Error: No resources are available to create the requested Kasm.

So...@j-travis, is that possible with kasm.I have already looked at all the issues once, but if anyone can tell me about any issue that I missed related to this, please let me know.

narainaDewasi avatar Apr 05 '24 10:04 narainaDewasi

Is there any solution for this? I have the same issue

abdilea avatar Jul 26 '24 15:07 abdilea

Inside Kasm Workspaces, there is the ability to share a session temporarily. https://kasmweb.com/docs/latest/guide/session_sharing.html#session-sharing

At the Developer API level there are more capabilities , but would require custom development: https://kasmweb.com/docs/latest/developers/developer_api.html#shared-session-permissions

We are looking into options for future releases to allow users to share custom workspace configurations outside the context of a shared session "meeting" capability thats currently available.

More details about your use-case would help inform us

j-travis avatar Jul 26 '24 15:07 j-travis

Hi J-Travis,

Thank you for your response.

I'm not looking to share sessions but rather resources. Could you please clarify this for me? If I have a Docker container (a Firefox browser instance) with 2 CPUs and 4GB of RAM, and I want two different users to use that image simultaneously, do I need a minimum of 4 CPUs and 8GB of RAM?

From: j-travis @.> Date: Friday, 26 July 2024 at 16:42 To: kasmtech/workspaces-issues @.> Cc: Abdi Abdile @.>, Comment @.> Subject: Re: [kasmtech/workspaces-issues] [ Question ] single docker container/session for multiple users (Issue #541)

Inside Kasm Workspaces, there is the ability to share a session temporarily. https://kasmweb.com/docs/latest/guide/session_sharing.html#session-sharinghttps://kasmweb.com/docs/latest/guide/session_sharing.html#session-sharing

At the Developer API level there are more capabilities , but would require custom development: https://kasmweb.com/docs/latest/developers/developer_api.html#shared-session-permissionshttps://kasmweb.com/docs/latest/developers/developer_api.html#shared-session-permissions

We are looking into options for future releases to allow users to share custom workspace configurations outside the context of a shared session "meeting" capability thats currently available.

More details about your use-case would help inform us

— Reply to this email directly, view it on GitHubhttps://github.com/kasmtech/workspaces-issues/issues/541#issuecomment-2253025945, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BITLWDBAGXH6EGOMHTGSOILZOJU5HAVCNFSM6AAAAABFY5SZG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJTGAZDKOJUGU. You are receiving this because you commented.Message ID: @.***>

abdilea avatar Jul 30 '24 09:07 abdilea

@abdilea , by default yes.

There are options to instruct Kasm to treat your system as if it has more CPU and RAM than it currently has but using these overrides is a delicate balancing act.

Examples were covered in the previous resources linked

j-travis avatar Jul 30 '24 14:07 j-travis