mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-22 16:13:13 +01:00
917 B
917 B
REQIUREMENTS
Docker CE
Each supported operating system has two dockerfiles, one for building and one for testing. This example is for building and testing Ubuntu 18.04 LTS
Build the docker image
cd /src_code_root
sudo docker build -t kasmvncbuilder:18.04 -f builder/dockerfile.ubuntu1804.build .
Run the builder
mkdir -p builder/build
sudo docker run -v /tmp:/build --rm kasmvncbuilder:18.04
cp /tmp/build/kasmvnc.ubuntu_18.04.tar.gz builder/build/
Build test desktop container
cd builder
sudo docker build -t kasmvnctester:18.04 -f dockerfile.ubuntu1804.test .
run an instance of the new destkop
sudo docker run -it -p 443:8443 --rm -e "VNC_USER=username" -e "VNC_PW=password123" kasmvnctester:18.04
open browser and point to https:///vnc.html The username and password were set in the docker run command