Docker image for COBOL CGI environments.
554
Docker image for COBOL CGI environments.
You can manually build image by below commands.
$ git clone https://github.com/koduki/example-cobol.git
$ cd example-cobol
$ docker build -t koduki/example-cobol .
And you can also pull image from DockerHub.
$ docker-compose run app cobc -version
cobc (OpenCOBOL) 1.1.0
Copyright (C) 2001-2009 Keisuke Nishida / Roger While
Built Nov 02 2013 00:16:01
Packaged Feb 06 2009 10:30:55 CET
$ docker-compose run app cobc -x -o bin/HELLO ./src/cobol/HELLO.COB
$ docker-compose run app bin/HELLO
Hello, World!
Build and Run Application.
$ docker-compose run app cobc -x -o bin/APP ./src/cobol/APP.COB
$ docker-compose up
Chceck IP address.
$ docker-machine ip default
192.168.99.100
Access by Web browser
http://192.168.99.100/app.cgi?arg1=3&arg2=2
Content type
Image
Digest
Size
118.4 MB
Last updated
over 10 years ago
docker pull koduki/example-cobol