This is a web based front end to c3270.
docker run -d \
--name=web3270 \
-p 4443:443 \
-v /opt/docker/web3270:/config \
-v /opt/docker/web3270/certs:/certs \
--restart unless-stopped \
mainframed767/web3270
Where:
4443 is the port you want the web server to listen on/opt/docker/web3270 is the location for the web3270.ini config file optional/opt/docker/web3270/certs is the location of the TLS server certificates optionalOn first run the config file will be copied to the /config volume. Run this container, edit that file then reset the container.
The config file allows you to specify multiple options:
server_ip IP address of the tnN3270 server to connect toserver_port TCP port of the tn3270 server to connect towebport TCP port for this webservertls yes/no should this server use HTTPS. If yes this script will check in the folder denoted by the script argument --certs, the default is the folder used the run the script.encrypted yes/no when connecting to tn3270 use SSL or notselfsignedcert yes/no allow self signed certs when connecting to encrypted tn3270 servermodel tn3270 model type (2 through 5), default 4. See https://x3270.miraheze.org/wiki/3270_models for more details.useproxy yes/no should a proxy be used to connect to tn3270 serverproxystring The proxy connection string optional.Content type
Image
Digest
Size
353.4 MB
Last updated
almost 5 years ago
docker pull mainframed767/web3270