Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Oracle Linux 8 container with VNC

Docker file for starting Oracle Linux 8 XFce4 Desktop via VNC

Instructions

Install docker, then

  1. Download the Dockerfile: https://github.coventry.ac.uk/raw/aa3025/docker/main/Dockerfile
  2. Run docker build . in the folder with Dockerfile
  3. check the resultant image id: docker images
  4. launch the container, e.g. image id was "xyz1234567", then do

docker run -ti -p 5901:5901 xyz1234567

  1. open vncviewer and connect to localhost:1
  2. User "user" [uid 8888] password is "qwerty", they are sudoer

The ready made example to try (1.8 GB):

docker run -ti -d -p 5901:5901 aa3025/xfce4_oraclelinux8_turbovnc:last

to mount a local folder $(pwd) to a container /mnt/host, launch it instead with

docker run -ti -d --mount src="$(pwd)",target=/mnt/host,type=bind aa3025/xfce4_oraclelinux8_turbovnc:last