Permalink
Cannot retrieve contributors at this time
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?
docker/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
23 lines (15 sloc)
879 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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``` | |
5) open vncviewer and connect to `localhost:1` | |
6) 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``` |