Skip to content
Weik.ioDocs
2026.2
Try Weik.io

Try Weik.io on your machine

Weik.io 2026.2

Run Weik.io on your machine in the Try Weik.io dev container. Its weikio CLI is already signed in to project sandbox and environment devtest. Product page · Video

Watch: Try Weik.io on your machine, 3:02

The video opens the Try Weik.io dev container and runs the first commands once the platform has started.

On this page

The Try Weik.io dev container runs Weik.io and an agent called dev on your machine. You create integrations as files in your editor and type weikio commands in the container’s terminal.

What you need#

  • Docker Engine on Linux, or Docker Desktop on Windows or macOS
  • 8 GB of memory for Docker (6 GB at least)
  • 4 CPUs and 20 GB of free disk
  • Visual Studio Code with the Dev Containers extension, or the devcontainer command line (npm install -g @devcontainers/cli)
  • Internet access to Docker Hub and Maven Central

The first build of the container downloads the platform’s images from Docker Hub. The first build of an integration fetches Camel’s libraries from Maven Central. Later runs use the copies kept in the container.

The platform’s images are for Intel and AMD processors. On a Mac with Apple silicon, they run slower because Docker emulates them.

Open the container#

Get the folder from the Try Weik.io repository and open it in Visual Studio Code, then run Dev Containers: Reopen in Container.

To use the command line instead, start the container and open a shell in it:

Terminal
$ devcontainer up --workspace-folder .
$ devcontainer exec --workspace-folder . bash

The devcontainer command line forwards no port. Before you open the admin UI, run this on your machine in the same folder and leave it running:

Terminal
$ node .devcontainer/forward-admin-ui.js

When the platform is ready, you see the weikio CLI’s robot head and the admin UI’s address, http://localhost:8580, in the terminal. The CLI is already signed in as the platform administrator, in project sandbox and environment devtest.

What runs in it#

The platform’s processes listen on the container’s loopback address, on plain HTTP:

Process Address inside the container
Hub message server 127.0.0.1:4222 for clients, 7422 for the agent’s message server
Log, metric and trace stores 127.0.0.1:9428, 8428 and 10428
Backend (API, admin UI and version builds) 127.0.0.1:8580
API gateway 127.0.0.1:8581
The agent’s message server 127.0.0.1:4223
Agent dev (deployed integrations) 127.0.0.1:6006 for its health check

The first commands#

Create an integration in the folder you opened:

Terminal
$ weikio init hello
You see
Created hello/
  hello.camel.yaml        timer -> log, runs every 5 s
  application.properties  message=hello from weikio
  integration.yaml        name hello, other fields as commented examples

Next, to run it in project sandbox and environment devtest:
  weikio run ./hello

weikio run publishes the integration and deploys it to devtest, then follows its log lines:

Terminal
$ weikio run ./hello
You see
Target: http://localhost:8580, project sandbox (context), environment devtest (context)
Uploading 3/3 files, building...
integration sandbox/hello created (version 0.1.0, built in 16.2 s)
deployment devtest/sandbox/hello created (follows latest)
Following the log lines of sandbox/hello. Ctrl-C stops following, and the integration keeps running.
09:14:06.095 UTC INFO  dev  Apache Camel (Main) 4.22.1 is starting
...
09:14:06.439 UTC INFO  dev      Started hello (timer://tick)
09:14:07.113 UTC INFO  hello  dev  Exchange[ExchangePattern: InOnly, BodyType: String, Body: hello from weikio]
09:14:12.114 UTC INFO  hello  dev  Exchange[ExchangePattern: InOnly, BodyType: String, Body: hello from weikio]

Most of the first build’s 16 seconds go to resolving Camel’s libraries.

Run weikio status to see where the integration runs and weikio logs to see what it logged:

Terminal
$ weikio status sandbox/hello
$ weikio logs sandbox/hello

weikio dev run runs the folder in the container with Camel and devtest’s values:

Terminal
$ weikio dev run hello

Edit hello/hello.camel.yaml and run weikio run ./hello again. The CLI publishes the change as version 0.1.1 for the deployment to run.

The admin UI#

In Safari, signing in on http://localhost may fail. Open http://localhost:8580 in another browser, such as Chrome or Firefox. The administrator account, admin@local, has no password until you choose one:

  1. In the container’s terminal, run weikio-dev ui-link to print a one-time link.
  2. Open the link in your browser and choose a password to sign in. Later you sign in with admin@local and that password.
/integrations/sandbox/hello
The page of sandbox/hello with version 0.1.1 running in devtest on the agent dev and its messages of the last hour. Its log lines have the message hello again from weikio.The page of sandbox/hello with version 0.1.1 running in devtest on the agent dev and its messages of the last hour. Its log lines have the message hello again from weikio.The page of sandbox/hello with version 0.1.1 running in devtest on the agent dev and its messages of the last hour. Its log lines have the message hello again from weikio.The page of sandbox/hello with version 0.1.1 running in devtest on the agent dev and its messages of the last hour. Its log lines have the message hello again from weikio.
After weikio run hello, you see in the admin UI that sandbox/hello runs in devtest on the agent dev. You also see its messages and log lines.

The container turns off the two-factor sign-in that an installation requires of its platform administrators by default. You need no authenticator app here. To turn two-factor sign-in on again, run weikio settings set --two-factor-required=true.

When another program uses port 8580 on your machine, VS Code forwards the next free port without a warning and shows it in its Ports view. Stop that program and reopen the container.

Look after the container#

The weikio-dev command looks after the platform inside the container:

Command What it does
weikio-dev status Shows whether each process of the platform is up or down. It also shows each process’s restarts and health check.
weikio-dev logs Lists the logs. Run weikio-dev logs backend -f to follow one of them.
weikio-dev wait Follows the platform’s start until it’s ready.
weikio-dev reset Removes the installation and sets up a new one.

The installation is in a Docker volume and survives a restart and a rebuild of the container.

The container is fit only for trying Weik.io on your machine, because environment devtest has no gateway hostnames inside it. The container also keeps the platform administrator’s API key in its data volume. To run integrations for others, install Weik.io on one server.

Sign in to the live demo

Sign in with the shared viewer account. It can open every screen of the example projects but can't change anything.

E-mail
viewer@demo.weik.io
Password
try-weikio-live-demo
Open the live demo