Create image and run docker container

Build a docker image with a BDL and GAS installation and run an application in a docker container.

Tip: These steps are also found in your $FGLASDIR/docker/readme.md file.
Before you begin:

You must have Docker installed and running.

  1. Create an environment variable set to the BDL installation package to include in the image, as shown in the example.
    export FGLGWS_PACKAGE=fjs-fglgws-3.10.01-build1486651223-l64xl212.run
  2. Create an environment variable set to the GAS installation package.
    export GAS_PACKAGE=fjs-gas-3.10.00-build154169-l64xl212.run
  3. Build the docker image by running the docker_build_genero_image.sh script in the $FGLASDIR/docker directory.
    A Genero GAS docker image is generated.
  4. Start the docker container by running the docker_run_genero_image.sh script.
  5. Open a browser and type the following URL in the address bar:
     http://localhost:8080/gas/ua/r/gwc-demo
    In the pop-up authentication window, enter the user name and password (same for both):
    gasadmin
    The demo application launches. You have successfully built a docker image with a GAS and Genero BDL installation and launched an application in a docker container.