Install Tani Software

First select the product to install:

  1. Build the base image. This this contains all required dependencies.
    • run: docker build -t plcgitcomplete/base base
      parameters:
      -t plcgitcomplete/base
      gives a name to the new image
      base
      the directory where the Dockerfile is located
      Notes:
      • This requires internet access, as it downloads a docker base image.
      • The name is referenced in the Dockerfile of the second step.
  2. Optional: archive this base image (e.g. for reproducible build or transfer into offline environment).
    • to export, run: docker save -o plcgitcomplete-base.img plcgitcomplete/base
      parameters:
      -o plcgitcomplete-base.img
      name of the image file
      plcgitcomplete/base
      the image to export
    • to import (on same or other machine), run docker load -i plcgitcomplete-base.img
      parameters:
      -i plcgitcomplete-base.img
      name of the image file
  3. Build the final image. Running this will start the PlcGit Complete software.
    • run: docker build -t plcgitcomplete .
      parameters:
      -t plcgitcomplete
      gives a name to the new image
      .
      the directory where the Dockerfile is located
      Notes:
      • This does NOT require internet access, as it uses the base image generated in step 1.
  4. Run the generated image
    • run: docker run --name plcgitcomplete1 -p 2471:2471/tcp -p 2471:2471/udp -p 80:80/tcp -v plcgitcomplete-data:/etc/Tani -d --rm plcgitcomplete
      parameters:
      --name plcgitcomplete1
      the name of the new instance
      -p 2471:2471/tcp -p 2471:2471/udp -p 80:80/tcp
      exposes the specified ports: configuration (2471) http (80); format is 'hostPort:containerPort'
      -v plcgitcomplete-data:/etc/Tani
      creates or resuses a volume named plcgitcomplete-data do store the PlcGit Complete configuration and license data
      -d
      run in detached mode
      --rm
      remove the container after exiting
      plcgitcomplete
      the image to use
      Notes:
      • The permanent data will be stored in a docker volume plcgitcomplete-data on the host computer. To find it, run: docker volume inspect plcgitcomplete-data
  5. Stop the running container
    • run: docker stop plcgitcomplete1
      parameters:
      plcgitcomplete1
      the instance to stop
  1. Build the base image. This this contains all required dependencies.
    • run: docker build -t plcgitagent/base base
      parameters:
      -t plcgitagent/base
      gives a name to the new image
      base
      the directory where the Dockerfile is located
      Notes:
      • This requires internet access, as it downloads a docker base image.
      • The name is referenced in the Dockerfile of the second step.
  2. Optional: archive this base image (e.g. for reproducible build or transfer into offline environment).
    • to export, run: docker save -o plcgitagent-base.img plcgitagent/base
      parameters:
      -o plcgitagent-base.img
      name of the image file
      plcgitagent/base
      the image to export
    • to import (on same or other machine), run docker load -i plcgitagent-base.img
      parameters:
      -i plcgitagent-base.img
      name of the image file
  3. Build the final image. Running this will start the PlcGit Agent software.
    • run: docker build -t plcgitagent .
      parameters:
      -t plcgitagent
      gives a name to the new image
      .
      the directory where the Dockerfile is located
      Notes:
      • This does NOT require internet access, as it uses the base image generated in step 1.
  4. Run the generated image
    • run: docker run --name plcgitagent1 -p 2471:2471/tcp -p 2471:2471/udp -v plcgitagent-data:/etc/Tani -d --rm plcgitagent
      parameters:
      --name plcgitagent1
      the name of the new instance
      -p 2471:2471/tcp -p 2471:2471/udp
      exposes the specified ports: configuration (2471); format is 'hostPort:containerPort'
      -v plcgitagent-data:/etc/Tani
      creates or resuses a volume named plcgitagent-data do store the PlcGit Agent configuration and license data
      -d
      run in detached mode
      --rm
      remove the container after exiting
      plcgitagent
      the image to use
      Notes:
      • The permanent data will be stored in a docker volume plcgitagent-data on the host computer. To find it, run: docker volume inspect plcgitagent-data
  5. Stop the running container
    • run: docker stop plcgitagent1
      parameters:
      plcgitagent1
      the instance to stop
  1. Build the base image. This this contains all required dependencies.
    • run: docker build -t plcgitconf/base base
      parameters:
      -t plcgitconf/base
      gives a name to the new image
      base
      the directory where the Dockerfile is located
      Notes:
      • This requires internet access, as it downloads a docker base image.
      • The name is referenced in the Dockerfile of the second step.
  2. Optional: archive this base image (e.g. for reproducible build or transfer into offline environment).
    • to export, run: docker save -o plcgitconf-base.img plcgitconf/base
      parameters:
      -o plcgitconf-base.img
      name of the image file
      plcgitconf/base
      the image to export
    • to import (on same or other machine), run docker load -i plcgitconf-base.img
      parameters:
      -i plcgitconf-base.img
      name of the image file
  3. Build the final image. Running this will start the PlcGit Conf software.
    • run: docker build -t plcgitconf .
      parameters:
      -t plcgitconf
      gives a name to the new image
      .
      the directory where the Dockerfile is located
      Notes:
      • This does NOT require internet access, as it uses the base image generated in step 1.
  4. Run the generated image
    • run: docker run --name plcgitconf1 -p 2471:2471/tcp -p 2471:2471/udp -p 80:80/tcp -v plcgitconf-data:/etc/Tani -d --rm plcgitconf
      parameters:
      --name plcgitconf1
      the name of the new instance
      -p 2471:2471/tcp -p 2471:2471/udp -p 80:80/tcp
      exposes the specified ports: configuration (2471) http (80); format is 'hostPort:containerPort'
      -v plcgitconf-data:/etc/Tani
      creates or resuses a volume named plcgitconf-data do store the PlcGit Conf configuration and license data
      -d
      run in detached mode
      --rm
      remove the container after exiting
      plcgitconf
      the image to use
      Notes:
      • The permanent data will be stored in a docker volume plcgitconf-data on the host computer. To find it, run: docker volume inspect plcgitconf-data
  5. Stop the running container
    • run: docker stop plcgitconf1
      parameters:
      plcgitconf1
      the instance to stop