This documentation is for WSO2 Dockerfiles version 1.1.0. View documentation for the latest release.
Page Comparison - Helper Scripts for Docker Images (v.1 vs v.2) - WSO2 Dockerfiles 1.1.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleUsage
Usage: ./build.sh -v [product-version]
Options:
  -v	[REQUIRED] Product version of WSO2AM
  -l	[OPTIONAL] '|' separated WSO2AM profiles to build. "default" is selected if no value is specified.
  -i	[OPTIONAL] Docker image version.
  -e	[OPTIONAL] Product environment. If not specified this is defaulted to "dev".
  -o	[OPTIONAL] Preferred organization name. If not specified, will be kept empty.
  -q	[OPTIONAL] Quiet flag. If used, the docker build run output will be suppressed.
  -r	[OPTIONAL] Provisioning method. If not specified this is defaulted to "default". Available provisioning methods are puppet, default.
Example: ./build.sh -v 1.10.0 -l worker|manager -o myorganization -i 1.01.0

run.sh

This command starts containers for the specified product profiles with the specified image versions. 

...

This command can be used to terminate running containers specific to a product and clean all exited containers that are in the exit phase.

Code Block
languagebash
titleUsage
./stop.sh