Running the Hello World Docker Demonstration

The Hello World Docker demonstration includes a batch file (bld.bat) to make the process of running the demonstration as easy as possible. This topic lists and describes the parameters that you can specify when running bld.bat.

The command to execute the batch file to run the Hello World Docker demonstration is as follows:

bld.bat { {x64|x86|dn|ant} [debug|production]  |
          rmi }

where the parameters are:

ant
Indicates that you want to use Ant to build the Hello World application. Specifying ant causes Dockerfile.ant to be run rather than Dockerfile.
debug
Indicates that you want to able to debug the Hello World application rather than simply execute it. Specifying debug causes Dockerfile.debug to be run rather than Dockerfile.
dn
Indicates that you want to run the Hello World application in a .NET environment. Specifying dn causes Dockerfile.dn to be run rather than Dockerfile.
production
Indicates that you want to create an image that is suitable for use in a production environment. Specifying production causes the Hello World image to be based on a COBOL Server base image rather than a Visual COBOL Build Tools for Windows image.
rmi
Indicates that you want to remove any previously-created Hello World images. Specifying rmi results in the execution of a number of docker rmi --force commands to remove any Hello World images.
x64
Indicates that you want to run the Hello World application in a 64-bit environment. Specifying x64 causes Dockerfile.x64 to be run rather than Dockerfile.
x86
Indicates that you want to run the Hello World application in a 32-bit environment. Specifying x86 causes Dockerfile.x86 to be run rather than Dockerfile.