Skip to content
MisterShell
All posts

June 15, 2026

From docker run to an AI-assisted session in 15 minutes

Stand up a complete MisterShell workspace in a single Docker container, sign in, onboard a resource, turn on AI, and open an AI-assisted session attributed to you — on the free evaluation tier, no license key.

From docker run to an AI-assisted session in 15 minutes

The fastest way to understand MisterShell is to run it. This guide goes from a single docker run to an AI-assisted session, attributed to you, in about fifteen minutes.

It runs on the Free edition: 25 resources, no license key, no time limit. One container holds the whole workspace — UI, API, session gateway, embedded worker, database and cache.

What you’ll need

  • A Linux host with Docker (or Podman).
  • Ports 80 and 443 free — we bind both and reach the UI at https://localhost.

1. Run the container

Generate a database encryption key and save it — it encrypts secrets at rest, and you need the same key on every restart or upgrade:

export DB_ENCRYPTION_KEY=$(openssl rand -hex 32)
echo "$DB_ENCRYPTION_KEY"   # save this

Then start the container:

docker run -d --name mistershell \
  -p 443:443 -p 80:80 \
  -e DB_ENCRYPTION_KEY="$DB_ENCRYPTION_KEY" \
  -v mistershell_data:/data \
  mistershell/core:latest

The /data volume holds the database, recordings and event store; within seconds the workspace is ready. (For proxied web-app sessions, add the two sandbox flags from the all-in-one deployment guide.)

On first start the container creates an admin@mistershell.local account. Set its password from the operator console: docker exec -it mistershell msh -y reset admin-user prints a fresh password once, to your terminal. Or pass -e INITIAL_ADMIN_PASSWORD='<a strong password>' on the docker run above — it is read only when the admin account is first created.

2. Sign in

This evaluation serves a self-signed certificate. Clicking through the browser warning isn’t enough — the live-session WebSocket runs from a SharedWorker, which won’t accept a self-signed cert — so start Chrome with certificate checks disabled (quit Chrome completely first):

  • Windows: "C:\Program Files\Google\Chrome\Application\chrome.exe" --ignore-certificate-errors
  • macOS: open -a "Google Chrome" --args --ignore-certificate-errors

Then open https://localhost and sign in with your admin credentials.

In production, terminate TLS at a reverse proxy or install a trusted certificate, and no flag is needed.

MisterShell sign-in screen

3. Configure the workspace — and connect AI

You land on the workspace home. For an evaluation the defaults are fine; Settings → System → Config is a guided panel for the essentials whenever you need it.

The MisterShell workspace home

Do connect a model now. Open Settings → AI → Models, click Add Model, pick a provider (Anthropic, OpenAI, Azure OpenAI, Google, a self-hosted Ollama endpoint, and more), paste your API key, and tick Set as default model. Nothing is sent to the provider until you invoke the assistant.

Registering an LLM under Settings → AI → Models

4. Add a location

Locations organize resources into a hierarchy and feed the fleet health map. Give one a Name, optionally drop a map pin, and click Create.

Creating a location, with an optional map pin

5. Add a credential

Credentials live in an encrypted vault, separate from resources. Pick a type — Username / Password is fine — and enter the username and password (or key) for a host you can reach.

Leave Require user credential for interactive sessions off, so this shared credential is used directly and your eval session connects with no per-user setup.

Creating an SSH credential in the encrypted vault

6. Onboard your first resource

In Manage, open your location’s menu and choose Add Resource:

  • Connection method — SSH, with Host and Port an address the container can reach, on 22.
  • Credential — the one you created, or a new one via the +.
  • Resource type — leave it on Detect automatically.

Click Continue. The check connects, detects the platform (Linux) and shows the SSH host key fingerprint — review it, then click Create resource. The fingerprint is verified on every later connection, and the resource appears with a green status dot and a Connect button.

The guided Add Resource wizard

7. Open your first session — with AI

Click Connect on your resource. A live terminal opens in the browser — attributed to you from the first keystroke, with a Session Assist panel alongside it.

Type df -h and the assistant summarizes disk usage and suggests safe next checks, no prompting required. Ask it questions too — everything it does stays inside the same guardrails and audit trail as your own keystrokes.

A live session with Session Assist analyzing command output

That’s the whole loop — identity, a vaulted credential, a verified resource, and an AI-assisted session attributed to you — on one container you control.

The free tier, and where to go next

The Free edition runs the core platform on 25 resources with no time limit — enough to try every session type, operational facts, governed file transfer and the AI assistant. A license lifts the cap and climbs an edition ladder, each rung including the ones below:

  • Base — authoring your own commands, agents, prompts, and skills, plus reporting.
  • Pro — outbound-only remote workers for segmented networks, enterprise SSO over LDAP, OIDC and SAML with directory-group role mapping, multi-core high availability, and SIEM export.
  • Enterprise — the policy engines, session recording and replay, access approvals, automation playbooks, and configuration push.
  • Add-ons, with any paid edition — syslog ingestion, IDS sensors for network-layer detection, and the session proxy behind external vendor invitations for time-boxed third-party access.

For production, point the core at your own managed database and cache and terminate TLS at a reverse proxy. It’s the same workspace either way — just bigger.

Get in Touch

Want a guided demo, or a trial license to evaluate Pro or Enterprise on your own infrastructure? Tell us — we'd love to hear from you.

We use your details to answer your request through Zoho Desk. Privacy policy.