This example demonstrates how you can prepare and launch a Docker image with a JxBrowser application.
Please visit our Docker tutorial that will guide you through this example step-by-step.
-
Build a Docker image:
docker build -t jxbrowser . -
Start a container:
docker run --shm-size=1gb -t jxbrowserPlease note that the
--shm-size=1gbargument is required. By default, Docker's shared memory is limited to 64MB, which is not enough for Chromium to work.