Skip to content

Quick start

Three steps, no decisions. You need Docker and a browser; you do not need a mainframe, an account or an AI provider. The bundled sample application stands in for the host.

1. Run it

docker run --rm -p 127.0.0.1:3270:3270 ghcr.io/3270io/3270web:latest

The first run downloads the image. When the log stops scrolling, 3270Web is listening. This command runs with no sign-in and publishes the port on this machine only, so nobody else on your network can reach it.

2. Open it

Open http://localhost:3270.

You should see the connect page: a field for a mainframe address and, under it, Try the sample terminal.

3. Try the sample, then record

Choose Try the sample terminal.

You should see the Pet Store sign-on screen in the terminal, and above it a strip headed Your terminal is ready.

Choose Start recording in that strip. The Automation menu opens with Start recording selected; choose it. Then work the screens:

  1. Sign on with ADMIN / ADMIN and press Enter.
  2. Open the catalogue and view a product.
  3. Open Automation and choose Stop recording, then Play recording.

You should see the same screens go past again, driven by the recording instead of by you. That recording is a portable workflow file; see Recordings and playback for what to do with it next.

Press Ctrl+C in the terminal running Docker to stop. --rm removes the container, and everything it saved goes with it. To keep your work, follow Install and run, which sets up a data folder.

If it didn't work

docker: Cannot connect to the Docker daemon
Docker is installed but not running. Start Docker Desktop, or on Linux run sudo systemctl start docker, then repeat step 1.
Bind for 127.0.0.1:3270 failed: port is already allocated
Something else already uses port 3270. Publish a different host port and open that instead: docker run --rm -p 127.0.0.1:8080:3270 ghcr.io/3270io/3270web:latest, then http://localhost:8080. Change only the first number: 3270Web listens on 3270 inside the container.
The page does not load, or the browser reports an empty response
Wait for the first download to finish. If the container is running and the page still does not answer, check you did not add -e WEBUI_BIND=127.0.0.1: inside a container that makes 3270Web unreachable from outside it.
You see Set up 3270Web or a sign-in page instead of the connect page
That instance has accounts turned on (AUTH_MODE=local), as the repository's docker-compose.yml does. Create the first administrator with the setup code printed in the server log — docker compose logs 3270Web for a Compose stack — then carry on from step 3.
There is no Try the sample terminal button
That instance is pinned to one host by its administrator, or says Samples are unavailable on this instance. Use the Docker command above for a copy of your own.
The Your terminal is ready strip is not there
It was dismissed in an earlier visit. Open Automation in the menu bar and choose Start recording directly.
No Docker on this machine
On a linux/amd64 machine, the one-line installer on Install and run can install a single binary instead, with the s3270 engine bundled. No binary is published for arm64: there, use Docker (the image carries its own s3270 on amd64 and arm64), or build from source and install s3270 from your package manager (sudo apt-get install s3270).

Next