What is Kaazing WebSocket Gateway?
A high performance, scalable, secure robust real-time platform for reactive event-driven web and mobile applications.
The Docker image for Community Edition is available as well.
The Enterprise Edition has all of the capabilities of the Community Edition plus additional enterprise features and enterprise support available. Read more about the difference between the editions.
How to use this image
Base Docker Image
$ docker run --rm --name kwg -h example.com -p 8000:8000 kaazing/enterprise-gateway
example.com needs to be resolvable from your browser. You can do this by adding an entry to your hosts file for
example.com that points to your Docker host's IP address. For example, if you are using Docker Machine, you can get the IP address with this command:
You should then be able to connect to
ws://example.com:8000/echo using the WebSocket.org echo test.
Released under the Kaazing Developer License. In summary it permits free usage for evaluation, development, and non-production use.
Note: The Community Edition is available under Apache 2.0.
Online documentation is available.
See the Release Notes for what's new.
Please contact Kaazing for any questions, comments, or feedback.
To add an entry for example.com to your hosts file on a Mac, do the following:
- Get the IP address of your Mac (you don't need the docker-machine ip). For example, if you are on an Ethernet connection, in Terminal, enter:
ipconfig getifaddr en1
- Open your hosts file using nano (enter your Mac user password when prompted):
sudo nano /etc/hosts
- Add an entry for example.com, such as:
Enter Ctrl-x, then Y, then press Enter.
To test the mapping, ping example.com and ensure that the IP address is displaying correctly:
Now you can go to WebSocket.org and use the Echo test you test your Docker image.