The Image Tool lets you create a customized WebLogic domain in the image using the WebLogic Deploy Tool.
Create the image, as directed in the Quick Start guide.
Download the WebLogic Deploy Tool, and then add it to the cache store:
$ imagetool cache addInstaller --type wdt --version 0.22 --path /home/acmeuser/cache/weblogic-deploy.zip
$ imagetool create --fromImage myosimg:latest --tag wls:12.2.1.3.0 --version 12.2.1.3.0 --wdtVersion 1.4.0 --wdtArchive /home/acmeuser/wdt/domain1.zip --wdtDomainHome /u01/domains/simple_domain
The parameter mappings between the Image Tool and the WebLogic Deploy Tool are:
Image Tool | WebLogic Deploy Tool | Default |
---|---|---|
--wdtArchive |
-archive_file |
|
--wdtModel |
-model_file |
|
--wdtVariables |
-variable_file |
|
--wdtRunRCU |
-run_rcu |
false |
--wdtDomainHome |
-domain_home |
|
--wdtDomainType |
-domain_type |
WLS |
If you do not specify --wdtDomainHome
, the domain will be created under /u01/domains/base_domain
.
Note: If you are creating a JRF domain and want WebLogic Deploy Tool to create the RCU schemas for you, you can specify the connection information in the model. See Specifying RCU information in the model.