6080/tcp - noVNC, web browser VNC clientĬreate Dockerfile.xfce-web and modify the image as desired, below example installs Kali Linux web application assessment tools:ĭocker run -network host -privileged kali-desktop:xfce-web LicenceĬopyright (c) 2018 Łukasz Lach is hereby granted, free of charge, to any person obtaining a copy.
-v /home/kali:/home/kali - optional, if USER was provided it is a good idea to persist user settings, work files and look-and-feel.
-e ROOT_PASSWORD - optional, provide password for root, default root.
-e PASSWORD - optional, provide a password for USER, default kali.
-e USER - optional, work as a user with provided name, default root.
-e RESOLUTION - optional, set streaming resolution and color depth, default 1280圆00x24.
-privileged - optional but recommended.
-network host - optional but recommended, use the host network interfaces, if you do not need to use this option you have to manually publish the ports by passing -p 5900:5900 -p 6080:6080.