10 kasm program
Retrieve the properties of an existing user. Delete an existing user. If the user has any existing Kasm sessions, deletion will fail. If you intend to integrate Kasm into your app and will utilize iframes to load user sessions, be sure to set the Same Site Cookie Policy Global Setting to None if the Kasm Workspaces server is hosted under a different domain name.
An user Id can be specified to create the Kasm under that user. If no User ID is sent an anonymous user will be created and used for the Kasm.
An image id can be sent for the desired image. Otherwise the default image sent on the group or user level will be used. When the enable sharing flag is set to true the kasm will be created with sharing mode automatically enabled. If specified, the browser inside the Kasm session will navigate to this page. Returns the url path to the specified kasm. This path must be appended to the current Kasm Workspaces server address.
This link should not be re-used for different users. This call also updates the session token for the user creating a new connection link and invalidating the old one. Returns the link path to the specified kasm.
Join Kasm returns the status of the shared kasm and a join url to connect to the Kasm session as a view-only user.
It is recommended that you install Kasm on a single-purpose machine and let the installer install the docker and docker compose programs. Below are the minimum requirements.
Seamless Clipboard Copying and Pasting without using the control panel is only supported on Chrome and Chromium-based client browsers. This script will run and the standard user context when the session starts. To simplify Image management, it is recommended to utilize a docker container registry. This example will utilize a container registry that is provided by GitLab. Login to the docker container registry. You will be prompted for a username and password. Register the image via the Kasm UI.
Enter the full image name and tag as well as the docker registry. Enter the gitlab username in the Docker Registry Username field and the Gitlab password or access token under the Docker Registry Password field.
Kasm Workspaces is intended primarily for UI streaming containers, however, Workspaces can also orchestrate containers using any image. Images that are not based on one of the Kasm maintained core images will be incompatible with some features. Packages installed in a running container do not persist when the container is destroyed. To have a package be permanently installed an Admin must build it into a custom image, for more details see the Custom Images Guide.
Running a container as root is not recommended, as it removes one layer of security for preventing a user from breaking out of the container and gaining access to the host system. Running the container as root is the easiest, as it only requires altering the docker run config, but it comes with some limitations.
0コメント