LM Studio can be accessed at:
GPU Support
This image is Arch based and supports the following GPUs:
- Cuda v13- This requires a 2000 series or higher Nvidia video card running the latest binary drivers, v12 is not supported.
- Vulkan- This requires a semi modern AMD GPU.
ROCm is not supported at this time due to it’s size and Vulkan option for AMD.
Minimum run commands (start here then expand to fit your needs)
AMD GPUs:
docker run --rm -it \
--shm-size=1gb \
--device /dev/dri \
-e AUTO_GPU=true \
-p 3001:3001 \
linuxserver/lm-studio bash
Nvidia GPUs:
As of driver 595.80 with NVIDIA Container Toolkit installed:
# Host level modprobe modeset
nvidia-modprobe --modeset
docker run --rm -it \
--shm-size=1gb \
--device /dev/nvidia-modeset \
--runtime nvidia \
--gpus all \
-e AUTO_GPU=true \
-p 3001:3001 \
linuxserver/lm-studio bash
AI tools included in this image
This image comes preloaded with a set of AI development and automation tools centered around LM Studio, enabling local model execution, and integration inside a KDE desktop environment.
At the core is LM Studio along with its developer ecosystem via lmstudio SDK, providing programmatic access to local models and workflows.
For AI-assisted coding and agentic workflows, the image includes:
- Aider (via
aider-install) for git-aware code editing with LLM assistance (manual configuration required) - Cline for agent style development inside development environments
- Code-OSS for a desktop IDE with AI plugin support
- OpenClaw for running autonomous AI agents that execute tasks through workflows and messaging based interaction
- OpenCode AI for code generation and refactoring
These tools are primarily CLI and developer focused, and are designed to be configured by the user from the terminal on first launch to connect to a local LM Studio backend.
Included is a desktop launcher for LLMster to provide the backend for these tools in the desktop environment in a headless manner. This can also be launched with lms server start from the command line or from the desktop application via the taskbar icon.
Important notes:
- LM Studio (the desktop application) and LLMster cannot be run at the same time, as they both manage overlapping runtime resources for local model access and will conflict if launched concurrently.
- All included AI tools require initial configuration to point to the active LM Studio backend before use.
Strict reverse proxies
This image uses a self-signed certificate by default. This naturally means the scheme is https.
If you are using a reverse proxy which validates certificates, you need to disable this check for the container.
This container is based on Docker Baseimage Selkies, which streams a desktop or single application to your web browser. Only the essentials are covered below, the full platform documentation lives at docs.linuxserver.io/selkies.
Start Minimal
Most support issues we see stem from large run configurations assembled from years of forum posts. These containers are designed to work with almost nothing. Start with the minimal command below, confirm it works, then add your options (volumes, env vars, GPU flags) one at a time:
docker run --rm -it \
--shm-size=1gb \
-p 3001:3001 \
ghcr.io/linuxserver-playground/lm-studio:latest bash
Open https://localhost:3001 (note the https) and accept the self signed certificate warning. The trailing bash gives you a shell inside the container, ctrl+d exits and cleans everything up. If a bigger setup misbehaves, return to this command to isolate the problem, see the Quickstart and Troubleshooting guides.
GPU Acceleration
A GPU is optional, the CPU pipeline is fast enough for smooth sessions on modest hardware. When a GPU is mounted into the container it is automatically detected and configured for zero copy rendering and encoding, set AUTO_GPU=false to disable this behavior.
Intel / AMD (open source drivers), one flag is all it takes:
docker run --rm -it \
--shm-size=1gb \
-p 3001:3001 \
--device /dev/dri \
ghcr.io/linuxserver-playground/lm-studio:latest bash
Nvidia (proprietary drivers, not available on Alpine based images):
Requires host driver 580 or newer installed from the .run file downloaded directly from Nvidia. On drivers older than 595.80 you may also need kernel parameters and a dummy plug, see GPU Acceleration before opening an issue.
docker run --rm -it \
--shm-size=1gb \
-p 3001:3001 \
--runtime nvidia \
--gpus all \
--device /dev/nvidia-modeset \
ghcr.io/linuxserver-playground/lm-studio:latest bash
Compose examples, multi GPU selection (DRINODE/DRI_NODE), Unraid notes, and a step by step debugging loop are in the GPU Acceleration guide.
Security
This container provides privileged access to the host system. Do not expose it to the Internet unless you have secured it properly.
HTTPS is required. Modern browser features used for video and audio (WebCodecs) only work in a secure context. Port 3001 serves HTTPS directly, the HTTP port exists only to sit behind a reverse proxy.
By default there is no authentication. Setting the CUSTOM_USER and PASSWORD environment variables enables HTTP basic auth, which is suitable only for a trusted local network. For internet exposure, place the container behind a reverse proxy with robust authentication, such as SWAG. Keep in mind the web interface includes a terminal with passwordless sudo, anyone who can reach the GUI can gain root inside the container.
Authentication options, sharing link behavior, container isolation, and the lockdown variables for kiosk style deployments are covered in Security and Hardening.
Language Support - Internationalization
To launch the session in a different language, set the LC_ALL environment variable, e.g. -e LC_ALL=zh_CN.UTF-8 (Chinese), ja_JP.UTF-8 (Japanese), ko_KR.UTF-8 (Korean), ar_AE.UTF-8 (Arabic), ru_RU.UTF-8 (Russian), es_MX.UTF-8 (Spanish Latin America), de_DE.UTF-8 (German), fr_FR.UTF-8 (French), nl_NL.UTF-8 (Dutch), it_IT.UTF-8 (Italian).
Beyond Running the App
This image inherits every capability of the Selkies platform, all documented in depth on the docs site:
- Configuration Reference - every environment variable: ports, subfolder reverse proxy, custom dashboards, watermarking, and the full set of
SELKIES_*stream, feature, and UI settings with their|lockedsyntax. - Using the Web Client - file transfer, clipboard sync, audio and microphone, up to four gamepads, session sharing, and mobile touch support.
- Installing Applications - persistent user installed apps with proot-apps (
proot-apps install filezilla) or native packages at boot with Docker mods. - Docker in Docker and host Docker control - run
--privilegedfor an isolated DinD setup, or mount/var/run/docker.sockto manage the host. - Reverse Proxy - proxying websockets and subfolders correctly.
- SealSkin - turnkey multi user VDI orchestration with browser extension and mobile apps, this image is fully compatible.
- Pelorus - expose the session to AI agents via a computer use API and accessibility stack.
