Fully running MVS 3.8j Tur(n)key 4- System. IBM Mainframe.
10K+
Use https://github.com/RattyDAVE/docker-ubuntu-hercules-mvs/issues to send feedback, issues, comments and general chat.
docker run -dit --name tk4- \
-p 3270:3270 -p 8038:8038 \
rattydave/docker-ubuntu-hercules-mvs:latest
Beta version with arm7 and arm64 builds
docker run -dit --name tk4- \
-p 3270:3270 -p 8038:8038 \
rattydave/docker-ubuntu-hercules-mvs:beta
Connect a 3270 terminal to port 3270 on the docker host. To get the http://docker.host:8038 for the Hercules console.
Or
docker run -dit --name tk4- rattydave/docker-ubuntu-hercules-mvs:latest
docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' tk4-
Then connect a 3270 terminal to the container ip address on port 3270.
x3270 ipaddress:3270
If you need a development system with x3270 pre installed then have a look at https://hub.docker.com/r/rattydave/docker-ubuntu-xrdp-mate-custom/ and pull rattydave/docker-ubuntu-xrdp-mate-custom:v2-tools
To automatically update I recomend using watchtower.
docker run -d \
--name watchtower \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower
Point a web browser to port 8038 of the host system running TK4-. This will typically be 127.0.0.1, aka localhost.
Enter attach 010 3270 CONS in the command field of the web browser session.
Connect a tn3270 emulator of your choice to port 3270 of the host system running TK4- (which typically will be docker host IP). Use CONS for the LUNAME (or equivalent) connection parameter of the tn3270 client. A panel showing the TK4- logo and information about Hercules and the host operating system will be displayed.
Enter /v 010,console,auth=all in the command field of the web browser session. An MVS console will now be
activated in the tn3270 session.
It is recommended to press PF11 at the newly activated console at this point. This will remove the annoying default display area which occupies most of the console’s output area. Alternatively PF23 can be used if in addition the popular mn jobnames,t and mn sess,t commands are to be issued
For more information see http://wotho.ethz.ch/tk4-/MVS_TK4-_v1.00_Users_Manual.pdf
Brief documentation is included in /opt/hercules/tk4/doc Also found at http://wotho.ethz.ch/tk4-/MVS_TK4-_v1.00_Users_Manual.pdf
Jason Winter’s TCPIP instruction (opcode X’75’) has been re-fitted to work with the Hercules version that comes with TK4-. The instruction dates back to 2002 and was last updated around 2009. It allows the Hercules guest to access the IP stack of the host system on which Hercules is running. The current implementation provides the complete functionality as designed in 2002/2009.
However, from today’s point of view, the given implementation may compromise the TK4- security concept and attract risks from the network. Before trying to use TCP/IP connectivity it is strongly recommended to read TSO HELP member TCPIP. Besides providing detailed usage instructions it also explains possible risks and strategies to avoid them.
PFKEYS
The MVS 3.8j Tur(n)key 4- System runs on an IBM 3033 mainframe emulated by the Hercules System/370, ESA/390, and z/Architecture emulator which is Copyrighted (c) by Roger Bowler and others.
Hercules is licensed and distributed under the terms of the Q Public License Version 1.0. See http://www.hercules-390.eu/herclic.html for license details. According to the terms of the license an unmodified copy of the license is available as file /opt/hercules/tk4/hercules/httproot/herclic.html and all patches applied to Hercules to adapt it to the needs of TK4- have been placed in folder /opt/hercules/tk4/hercules/patches of the MVS 3.8j Tur(n)key 4- distribution.
For the present implementation IBM's OS/VS2 (MVS) operating system (Program-Number 5752-VS2, Release 3.8j, Service Level approx. 8505) was chosen, which is in the public domain.
The MVS 3.8j Tur(n)key 4- distribution itself is put into the public domain without claiming any copyright by the author as far as no third party copyrights are affected.
Content type
Image
Digest
sha256:cf6618255…
Size
254.2 MB
Last updated
almost 2 years ago
docker pull rattydave/docker-ubuntu-hercules-mvs