acs::Container method init (protected)

 <instance of acs::Container[i]> init

Defined in packages/acs-tcl/tcl/acs-container-procs.tcl

In case, a docker mapping is provided, source it to make it accessible during configuration. The mapping file is a Tcl script providing at least the Tcl dict ::docker::containerMapping containing the docker mapping. A dict key like "8080/tcp" (internal port) will return a dict containing the keys "host", "port" and "proto" (e.g. proto https host 192.168.1.192 port 58115).

Testcases:
No testcase defined.
Source code:
if {[file exists /scripts/docker-dict.tcl]} {
    source /scripts/docker-dict.tcl
    if {[info exists ::docker::containerMapping]} {
        set :containerMapping $::docker::containerMapping
    }
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: