ibmcom/streams-qse
IBM® Streams QSE (Quick Start Edition)
10K+
IBM Streams Quick Start Edition is a free, non-production version of IBM Streams. With no data or time limits, You can experiment with stream computing in your own environment.
You can use the Quick Start Edition to develop and run applications that process information in data streams. You develop your stream processing applications in the IBM Streams Processing Language (SPL) or in other supported languages, such as Java™,Scala or Python. IBM Streams includes the Streams Studio integrated development environment (IDE) and toolkits that extend the functionality. IBM Streams also includes an integrated console that you can use to view the health of the instances and applications in your domain.
Note: in the following command replace <version> with one of the following:
Replace <user> with your user name
Container without mapped directories:
docker run --shm-size=4g --security-opt seccomp=unconfined --privileged -d -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 8443:8443 -p 9975:9975 -p 8006-8016:8006-8016 -p 8444:8444 -p 8080:80 -p 5905:5901 -p 4022:22 --name streamsdocker<version> -h 'streamsqse.localdomain' ibmcom/streams-qse:<version> INSTALL
Container with mapped directories:
The command is based on using the following mapped directories:
/home//Documents/DockerMapped/workspace
/home//Documents/DockerMapped/hostdir
docker run --shm-size=4g --security-opt seccomp=unconfined --privileged -d -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /home/<user>/Documents/DockerMapped/workspace:/home/streamsadmin/workspace -v /home/<user>/Documents/DockerMapped/hostdir:/home/streamsadmin/hostdir -p 8443:8443 -p 9975:9975 -p 8006-8016:8006-8016 -p 8444:8444 -p 8080:80 -p 5905:5901 -p 4022:22 --name streamsdocker<version> -h 'streamsqse.localdomain' ibmcom/streams-qse:<version> INSTALL
Container without mapped directories
docker run --shm-size=4g --security-opt seccomp=unconfined --privileged -d -v /sys/fs/cgroup:/sys/fs/cgroup:ro -p 8443:8443 -p 9975:9975 -p 8006-8016:8006-8016 -p 8444:8444 -p 8080:80 -p 5905:5901 -p 4022:22 --name streamsdocker<version> -h 'streamsqse.localdomain' ibmcom/streams-qse:<version> INSTALL
Container with mapped directories:
The command is based on using the following mapped directories:
C:<user>\Documents\DockerMapped\workspace
C:<user>\Documents\DockerMapped\hostdir
docker run --shm-size=4g --security-opt seccomp=unconfined --privileged -d -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v //c/<user>/Documents/DockerMapped/workspace:/home/streamsadmin/workspace -v //c/<user>/Documents/DockerMapped/hostdir:/home/streamsadmin/hostdir -p 8443:8443 -p 9975:9975 -p 8006-8016:8006-8016 -p 8444:8444 -p 8080:80 -p 5905:5901 -p 4022:22 --name streamsdocker<version> -h 'streamsqse.localdomain' ibmcom/streams-qse:<version> INSTALL
Streams internal fixed ports. These ports should not be changed without streams admin knowledge: -p 8443:8443 -p 9975:9975 -p 8006-8016:8006-8016 -p 8444:8444
VNC Server ports: -p 5905:5901. Port 5901 is the listen port for VNC Server inside the Docker container. Port 5905 is the port your host VNC Viewer connects to. For example, localhost:5905. You can change it if port 5905 is already in use.
SSH port: -p 4022:22. Port 22 is the SSH listen port inside of the Docker container. Port 4022 is the ssh port to connect via the ssh client. For example, ssh -p 4022 localhost.
If you need other ports, add them to the docker run command. For example: -p :
SSH: Use an ssh client to access localhost on port 4022. For example, ssh -p 4022 streamsadmin@localhost
VNC: Use a VNC viewer client to access port 5905.
When you access the Docker container with VNC, you are presented with a default desktop at a resolution that might not be optimal. To adjust the resolution:
On the desktop, the Streams tools and utilities are located on the Applications > Favorites menu, which you can access from the Start Menu
By default, all passwords are passw0rd. You can change the passwords and change all ssh keys by opening a terminal and running the following commands:
passwd: Follow the prompts to change streamsadmin system password.
vncpasswd: Follow the prompts to change the streamsadmin VNC password.
ssh-keygen -t rsa: Press the Enter key to accept the default to overwrite the rsa ssh keys.
ssh-keygen -t dsa: Press the Enter key to accept the defaults to overwrite the dsa ssh keys.
su - root: Change to root user, and run these commands:
paswd: Follow the prompts to change the root system password.
ssh-keygen -t rsa: Press the Enter key to accept the defaults to overwrite the rsa ssh keys.
The following commands are for managing the container:
Pause the container: docker pause streamsdocker4314
Resume the container: docker unpause streamsdocker4314
Stop the container: docker stop streamsdocker4314
Start the container: docker start streamsdocker4314
Important: When you start the container, the IBM Streams domain and instance are also started. This process might take several minutes. To prevent errors, wait until the domain and instance are started. On the VNC desktop, you can see the yellow desktop icon (Streams Domain Starting) while the domain is starting. The icon turns green (Streams Domain Started) when the domain is ready, and then eventually disappears.
If you need to re-create the container or the image (for example for a reinstallation), the following commands are useful:
After you are up and running with the Quick Start Edition, get started using Streams by following the Quick Start Guide. This guide teaches basic Streams concepts as well as Streams Processing Language (SPL).
Development guides also exist for Java and Python.
For technical issues, post your questions to the Streamsdev forum.
For more articles, videos and tutorials, visit Streamsdev, the Streams developer community.
For alternative installation methods see Installing Streams Quick Start Edition with Docker.
IBM Streams Quick Start Edition is licensed for development purposes only and it is not intended for production use. Go here to view and accept the End User License. Note: By downloading and running this instance, you are agreeing with all the terms and conditions of our license referenced above.
License The Dockerfile and associated scripts are licensed under the Apache License 2.0. IBM Streams Quick Start Edition is licensed under the IBM International License Agreement for Non-Warranted Programs. This license for IBM Streams Quick Start Edition can be found online.
docker pull ibmcom/streams-qse