# Default Setup Command

**URL:** <https://discuss.tryton.org/t/default-setup-command/2967>\
**Category:** System Administrator\
**Created:** [July 5, 2020, 12:37am UTC](https://discuss.tryton.org/t/default-setup-command/2967 "2020-07-05T00:37:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TelematicMan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@TelematicMan](https://discuss.tryton.org/u/TelematicMan)\
**Post date:** [July 5, 2020, 12:37am UTC](https://discuss.tryton.org/t/default-setup-command/2967/1 "2020-07-05T00:37:30Z")

</div>

I used the following default setup commands from the Docker install artical without thinking I need to change User name and password so now Im trying to figure from the code what I need to actually log into the web interface. I finally at least that going Yaaayyy Copied the code just as it was written Sorry for the hassle I have been awake to longgg

* * *

Start a PostgreSQL instance  
$ docker run --name tryton-postgres -e POSTGRES\_PASSWORD=mysecretpassword -e POSTGRES\_DB=tryton -d postgres

Setup the database  
$ docker run --link tryton-postgres:postgres -e DB\_PASSWORD=mysecretpassword -it tryton/tryton trytond-admin -d tryton --all

Start a Tryton instance  
$ docker run --name tryton -p 8000:8000 --link tryton-postgres:postgres -e DB\_PASSWORD=mysecretpassword -d tryton/tryton

Start a Tryton cron instance  
$ docker run --name tryton-cron --link tryton-postgres:postgres -e DB\_PASSWORD=mysecretpassword -d tryton/tryton trytond-cron -d trytontryton-postgres:postgres -e DB\_PASSWORD=mysecretpassword -d tryton/tryton trytond-cron -d tryton

---

<div class="post-metadata">

**Author:** ![TelematicMan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/58956e/32.png) [@TelematicMan](https://discuss.tryton.org/u/TelematicMan)\
**Post date:** [July 5, 2020, 4:06am UTC](https://discuss.tryton.org/t/default-setup-command/2967/2 "2020-07-05T04:06:29Z")

</div>

This was my fault I went to fast and missed the step to actually put in a password! I re did the whole install and now Tryton is up and Running!! if any one every needs to remove the Docker instance and image this is the code I used  
\_  
To remove all containers and images you can run these commands

docker rm $(docker ps -a -q)  
docker rmi $(docker images -q)

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [August 4, 2020, 4:06am UTC](https://discuss.tryton.org/t/default-setup-command/2967/3 "2020-08-04T04:06:33Z")

</div>

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