# How to continue using Tryton Docker after entering not accepted email?

**URL:** https://discuss.tryton.org/t/how-to-continue-using-tryton-docker-after-entering-not-accepted-email/7343
**Category:** System Administrator
**Tags:** docker, ir
**Created:** [June 1, 2024, 8:15pm UTC](https://discuss.tryton.org/t/how-to-continue-using-tryton-docker-after-entering-not-accepted-email/7343 "2024-06-01T20:15:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![martino](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/m/49beb7/32.png) [@martino](https://discuss.tryton.org/u/martino)
#### Post date: [June 1, 2024, 8:15pm UTC](https://discuss.tryton.org/t/how-to-continue-using-tryton-docker-after-entering-not-accepted-email/7343/1 "2024-06-01T20:15:50Z")

</div>

Hi  
I just installed Tryton with Docker with this tutorial: “How to run Tryton using Docker”  
It is a nice tutorial and thanks for the explaining.  
But I had a problem with this 2 times and had to delete every container and removing database volume to continue. So I wondering how I could make it faster or continue using the installation.

The problem is, during the database initialisation you have to enter email adress. The first time I used my username, but the script endet with an error because of the missing “@”.  
So later, on the second try I used username@localhost but it broke again…  
So what can I do tother hen stop and remove everything?

Ok, tried it a 3. time:  
trytond.res.user.UserValidationError: The email address “admin@localhost.local” for “Administrator” is not valid. - The part after the @-sign is a special-use or reserved name that cannot be used with email.

🙂

only username:  
The email address is not valid. It must have exactly one @-sign.

username@localhost  
The part after the @-sign is not valid. It should have a period.

username @nootexxist.com  
The domain name [nootexxist.com](http://nootexxist.com) does not exist.

martin @nomail.com  
The domain name [nomail.com](http://nomail.com) does not accept email.

I know I could use my read address but everything is broken after a little typo, that is very strange… why not catching that error? I already wrote a script for stop and deleting everything…

But the funny thing, you can leave it empty without problem. But, what if I only want to use tryton local and use internal mail system?

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [June 2, 2024, 9:33am UTC](https://discuss.tryton.org/t/how-to-continue-using-tryton-docker-after-entering-not-accepted-email/7343/2 "2024-06-02T09:33:46Z")

</div>

> [@martino](#):
>
> why not catching that error?

Indeed since [Forget Password action dont check if the email is correct (#12215) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/12215), the admin email is also validate.  
The `trytond-admin` command should handle it and ask for a valid email: [trytond-admin crashes with invalid email (#13294) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/13294).

> [@martino](#):
>
> But the funny thing, you can leave it empty without problem.

The email is only required to send reset password but the system can work without it.

> [@martino](#):
>
> But, what if I only want to use tryton local and use internal mail system?

Tryton validate that it will be able to send email to this address. In case of local, you do not need to setup an email to reset the password, you can use the `trytond-admin` command.

---

<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: [July 2, 2024, 9:34am UTC](https://discuss.tryton.org/t/how-to-continue-using-tryton-docker-after-entering-not-accepted-email/7343/3 "2024-07-02T09:34:24Z")

</div>

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