Here we determine the IP address of the Docker container we want to SSH into. In our case, the NGINX container has an IP address of 172.17.0.2. We can now attempt to connect to this IP address via SSH and the root account. $ ssh [email protected] At this point, you’ll either connect successfully to the running container, or get a “connection. Run the PostgreSQL server container (in the foreground): $ docker run -rm -P -name pgtest egpostgresql. There are two ways to connect to the PostgreSQL server. We can use Link Containers, or we can access it from our host (or the network). Note: The -rm removes the container and its image when the container exits successfully.
Docker image to provide HTML5 VNC interface to access Ubuntu 16.04 LXDE desktop environment with added netboot.xyz iso access in directory
Run the docker container and access with port
Forward VNC service port 5900 to host by
Now, open the vnc viewer and connect to port 5900. If you would like to protect vnc service by password, set environment variable
VNC_PASSWORD, for example
A prompt will ask password either in the browser or vnc viewer.
HTTP Base Authentication
This image provides base access authentication of HTTP via
To connect with SSL, generate self signed SSL certificate first if you don't have it
Specify SSL port by
SSL_PORT, certificate path to
/etc/nginx/ssl, and forward it to 6081
Resolution of virtual desktop adapts browser window size when first connecting the server. You may choose a fixed resolution by passing
RESOLUTION environment variable, for example
Default Desktop User
The default user is
root. You may change the user and password respectively by
PASSWORD environment variable, for example,
Sound (Preview version and Linux only)
It only works in Linux.
First of all, insert kernel module
snd-aloop and specify
2 as the index of sound loop device
Start the container
--device /dev/snd -e ALSADEV=hw:2,0 means to grant sound device to container and set basic ASLA config to use card 2.
Launch a browser with URL http://127.0.0.1:6080/#/?video, where
video means to start with video mode. Now you can start Chromium in start menu (Internet -> Chromium Web Browser Sound) and try to play some video.
Following is the screen capture of these operations. Turn on your sound at the end of video!
Dell iDRAC 6 IPMI Java Console Usage
Go into IcedTea web panel and lower the
Extended applet security level for java applets
Launch Firefox browser and go to your IPMI web login and add a permenant exception for HTTPS based IPMI login
Launch console and open with
IceTea Java Web Start + check trust publisher and content.
Docker Ubuntu Password Recovery
Answer yes to run java console applet
- boot2docker connection issue, https://github.com/fcwu/docker-ubuntu-vnc-desktop/issues/2
Docker Ubuntu Create User With Password
Docker Ubuntu Password Change
See the LICENSE file for details.