VM370Docker - adesutherland/CMS-370-BREXX GitHub Wiki

docker run --rm -d -p 3270:3270 -p 8038:8038 -p 3505:3505 --name vm370 adriansutherland/vm370:1.3.5 Fast start - Use from the normal windows console:

  • start the container docker run -d -p 3270:3270 -p 8038:8038 -p 3505:3505 --name vm370 adriansutherland/vm370:1.3.5

  • attach to the linux console docker exec -it vm370 /bin/bash

This will give you a linux command line, then:

herccontrol "ipl 141"

c3270 localhost:3270

(on my windows computer the mouse even works - which surprised me) (and ctrl-c clears the 3270 screen)

Use the menu to exit c3270 then "exit" to close the shell. And - yes you can do multiple shells via docker attach

  • To stop (pause) the container docker stop vm370

  • To kill it (pull the plug) docker kill vm370

  • to unpause/start it docker start vm370

  • And to remove and delete the container docker rm vm370

Boom!