Whiteboard is a lightweight web-based application for creating sketches, and other visualizations. It is based on Node.js runtime environment.
This tutorial explains how to install Whiteboard inside a Docker container on Linux. Commands have been tested on Ubuntu.
Prepare environment
Make sure you have installed Docker in your system. If you are using Ubuntu, installation instructions can be found in the post.
Install Whiteboard
- Host network
Run the following command to create a container for Whiteboard that uses host network:
docker run -d --name=whiteboard --restart=always --network=host \
rofl256/whiteboard
- User-defined bridge network
User-defined bridge network can be used for listening on different port. By default, Whiteboard service is listening on port 8080. It can be changed with -p
option.
docker network create app-net
docker run -d --name=whiteboard --restart=always --network=app-net \
-p 8081:8080 \
rofl256/whiteboard
Testing Whiteboard
Navigate to http://<IP_ADDRESS>:8080
to access the web application, ensuring that you replace <IP_ADDRESS>
with the correct IP address of the system.
Uninstall Whiteboard
To completely remove Whiteboard, remove its container:
docker rm --force whiteboard
Remove Whiteboard image:
docker rmi rofl256/whiteboard
If a user-defined bridge network was created, you can delete it as follows:
docker network rm app-net
Leave a Comment
Cancel reply