# What is launcher start-cmd suppose to do?

**URL:** https://meta.discourse.org/t/what-is-launcher-start-cmd-suppose-to-do/153597
**Category:** Support
**Created:** [2 juni 2020 om 17:49 UTC](https://meta.discourse.org/t/what-is-launcher-start-cmd-suppose-to-do/153597 "2020-06-02T17:49:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [2 juni 2020 om 17:49 UTC](https://meta.discourse.org/t/what-is-launcher-start-cmd-suppose-to-do/153597/1 "2020-06-02T17:49:37Z")

</div>

The help for launcher has

```plaintext
Usage: launcher COMMAND CONFIG [--skip-prereqs] [--docker-args STRING]
Commands:
    start: Start/initialize a container
   ...
    start-cmd: Generate docker command used to start container
   ...

```

and since I know `launcher` is at times issuing [Docker container commands](https://docs.docker.com/engine/reference/commandline/container/) I was expecting `start-cmd` to show the Docker command with all the parameters to start the container.

This was the result

```plaintext
groot@galaxy:/var/discourse$ ./launcher start-cmd
Usage: launcher COMMAND CONFIG [--skip-prereqs] [--docker-args STRING]
Commands:
    start: Start/initialize a container
   ...

```

a dump of the command help.

How is this command used?

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2 juni 2020 om 18:05 UTC](https://meta.discourse.org/t/what-is-launcher-start-cmd-suppose-to-do/153597/2 "2020-06-02T18:05:29Z")

</div>

You still need to give it the config for which to issue the command, e.g.: `./launcher start-cmd app`

---

<div class="post-metadata">

### Author: ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)
#### Post date: [2 juni 2020 om 18:16 UTC](https://meta.discourse.org/t/what-is-launcher-start-cmd-suppose-to-do/153597/3 "2020-06-02T18:16:05Z")

</div>

Thanks.

* * *

```plaintext
groot@galaxy:/var/discourse$ sudo ./launcher start-cmd app
+ true run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=4 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e LETSENCRYPT_DIR=/shared/letsencrypt -e DISCOURSE_HOSTNAME=planet.galaxy.org -e DISCOURSE_DEVELOPER_EMAILS=groot@galaxy.org -e DISCOURSE_SMTP_ADDRESS=smtp.mailgun.org -e DISCOURSE_SMTP_PORT=587 -e DISCOURSE_SMTP_USER_NAME=groot@mg.galaxy.org -e DISCOURSE_SMTP_PASSWORD=not_here -e LETSENCRYPT_ACCOUNT_EMAIL=groot@galaxy.org -h site-app -e DOCKER_HOST_IP= www.xxx.yyy.zzz --name app -t -p 80:80 -p 443:443 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address ab:cd:ef:gh:ij:kl local_discourse/app /sbin/boot

```

Obviously specific values were sanitized.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2 juli 2020 om 18:27 UTC](https://meta.discourse.org/t/what-is-launcher-start-cmd-suppose-to-do/153597/4 "2020-07-02T18:27:34Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
