Create a virtual machine to run MINIX 3.1.2a and access it with VNC client.
138
docker run -p 5900:5900 --name minix312a elsvital/minix:3.1.2a
connect to the container using a VNC client pointing:
localhost:5900
When the login prompt appears, login as root. Press Enter when prompted for a password.
To start the installation of MINIX on the hard disk, type
setup
After this and all other commands, be sure to type ENTER (RETURN). When the installation script ends a screen with a colon, hit ENTER to continue. At the end of the installation:
shutdown
...
fd0> boot d0p0
If the system crashes (does not respond) when the reboot or shutdown commands are triggered:
docker container list
0f509b958ff5 elsvital/minix:3.1.2a "qemu-system-x86_64 …" 2 minutes ago Up 2 minutes 0.0.0.0:5900->5900/tcp, :::5900->5900/tcp minix312a
docker container stop 0f509b958ff5
docker container start 0f509b958ff5
docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:ro --privileged -p 5900:5900 --name minix312a-ssh elsvital/minix:3.1.2a-ssh
When the image appears type yes and then click on the OK button

List Container
docker container ls
e6e14427b68d elsvital/minix:3.1.2a-ssh "/bin/sh -c ./launch…" 9 minutes ago Up 9 minutes 22/tcp, 0.0.0.0:5900->5900/tcp, :::5900->5900/tcp minix312a-ssh
docker exec -it e6e14427b68d bash
root@e6e14427b68d:/# ssh [email protected]
docker container e6e14427b68d start
docker commit <name-or-id-container> <export-image-name>
docker save <export-image-name> > export-image-name.tar
docker load < export-image-name.tar
docker run -d -p 5900:5900 --name local-image-name export-image-name
Content type
Image
Digest
sha256:702892a2a…
Size
422.3 MB
Last updated
over 3 years ago
docker pull elsvital/minix:3.1.2a-ssh