# Is it possible to invoke Canton and pass in multiple bootstrap scripts?

**URL:** <https://forum.canton.network/t/is-it-possible-to-invoke-canton-and-pass-in-multiple-bootstrap-scripts/5993>\
**Category:** App Development\
**Tags:** canton\
**Created:** [January 18, 2023, 1:01pm UTC](https://forum.canton.network/t/is-it-possible-to-invoke-canton-and-pass-in-multiple-bootstrap-scripts/5993 "2023-01-18T13:01:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Schaeffer](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/michael_schaeffer/32/503_2.png) [@Michael\_Schaeffer](https://forum.canton.network/u/Michael_Schaeffer)\
**Post date:** [January 18, 2023, 1:01pm UTC](https://forum.canton.network/t/is-it-possible-to-invoke-canton-and-pass-in-multiple-bootstrap-scripts/5993/1 "2023-01-18T13:01:33Z")

</div>

I know it’s possible to launch `canton` with a script to be run at startup using the `--bootstrap` script.

Is it possible to pass in more than one script using this mechanism? Something like: `--bootstrap first.scala --bootstrap second.scala`).

The goal here would be for the first script to be a small set of functions that abstract out common startup operations. (Reading environment variables, populating users, and the like), with the second script being the specific initialization for a given instance of the `canton` process.

The idea would be that this is done in Docker, with the first script contained in a base image and the second (instance specific) script contained in a derived image specific to that instance. (So it’s not necessarily practical to put all of the configuration possibilities into a single script controlled with environment variables.)

Thanks!

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [January 18, 2023, 1:06pm UTC](https://forum.canton.network/t/is-it-possible-to-invoke-canton-and-pass-in-multiple-bootstrap-scripts/5993/2 "2023-01-18T13:06:13Z")

</div>

Afaik you can only pass a single bootstrap scripts. Bootstrap scripts are reasonable compositional though by just concatenating them.
