Public Repository

Last pushed: 2 years ago
Short Description
VAX and PDP11 simulators in a container
Full Description

This image will allow you to create a VAX or PDP11 simulator and run it as a docker container. It does not contain any operating system image, which you must obtain by other ways. Check http://www.openvmshobbyist.com/news.php and/or http://bitsavers.informatik.uni-stuttgart.de/ for details.

WARNING This is not an official part of the simh project. I offer this image, and the others based on it, "as is", without no commitment to keep supporting it in the future (as though I will try my best). If you find a bug, please do not report it to the official simh mantainers unless you can reproduce it in a "non containerized" environment. If you suspect the bug is related to the containerization, please open an issue in the specific github project, git://github.com/jguillaumes/dockersimh.

Image contents:

This image is based on debian linux, and contains the basic packages needed to run a VAX (MicroVAX 3900) or PDP-11 simulator. The simulators are part of SIMH (http://simh.trailing-edge.com/), which contains a lot more than VAXen and PDP-11s.

The image also contains examples to configure a VAX and a PDP-11 simulator under the directory /machines.

Exposed ports

2323: Port used by the sample configurations to attach the asynchronous terminal controller of the simulated machines.

Volumes

This image exports the /machines mountpoint. You can mount there a local directory with disk images and/or configuration files to run under the simulators.

Usage:

docker create --name <yourname> -p 2323:2323 -it jguillaumes/simh-vax

This will create a basic container, exposing the serial interface as port 2323. It will put you in a bash shell in the /machines directory.

docker create --name <yourname> -p 2323:2323 -v <yourpath>:/machines -it jguillaumes/simh-vax [vax|pdp11]

This command will create a container with the local path <yourpath> mounted as /machines. If you specify vax or pdp11 in the command line, that simulator will be executed instead of bash. If the mounted directory contains a vax.ini or pdp11.ini file it will be sourced and executed by the simulator.

Networking

tcp/ip

If your guest operating system has a TCP/IP stack it should work out of the box for outgoing connections (ie, from the container). To enable inbound connections you should add the corresponding routing entries to your host machine and/or to the local router.

DECNET

The containers running under the same docker machine can see each other via DECNET. To communicate with the outer world, you need to use any of the several methods available to tunnel DECNET packets under TCP/IP. Examples: SSH tunnel using vdeplug, Multinet DECNET over IP, Decnet bridge, asynchronous device emulation (included in SIMH).

Disclaimer

I've built this for fun and in my spare time. Of course, I'm giving no warranties about it. It could work or not. It could make your computer explode. Use it at your own risk!

Copyright notice for SIMH

Copyright (c) 1993-2014, Robert M Supnik

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ROBERT M SUPNIK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of Robert M Supnik shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from Robert M Supnik.

Docker Pull Command
Owner
jguillaumes