# Erro instalação via docker windows

**URL:** <https://forum.ieducar.org/t/erro-instalacao-via-docker-windows/1101>\
**Category:** Sem categoria\
**Created:** [Setembro 3, 2020, 8:06pm UTC](https://forum.ieducar.org/t/erro-instalacao-via-docker-windows/1101 "2020-09-03T20:06:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![reinaldo](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@reinaldo](https://forum.ieducar.org/u/reinaldo)\
**Post date:** [Setembro 3, 2020, 8:06pm UTC](https://forum.ieducar.org/t/erro-instalacao-via-docker-windows/1101/1 "2020-09-03T20:06:53Z")

</div>

Boa tarde estou fazendo uma instalação nova através do docker e está ocorrendo este erro durante a instalação

```auto
    C:\i-educar>docker-compose exec php composer new-install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package moontoast/math is abandoned, you should avoid using it. Use brick/math instead.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Doctrine\DBAL\Driver\PDOException : SQLSTATE[08006] [7] could not translate host name "postgres" to address: Name or service not known

  at /var/www/ieducar/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31
    27| parent::__construct($dsn, (string) $user, (string) $password, (array) $options);
    28| $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
    29| $this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
    30| } catch (\PDOException $exception) {
  > 31| throw new PDOException($exception);
    32| }
    33| }
    34|
    35| /**

  Exception trace:

  1 Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(App\Providers\AppServiceProvider))
      [internal]:0

  2 PDOException::("SQLSTATE[08006] [7] could not translate host name "postgres" to address: Name or service not known")
      /var/www/ieducar/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27

  Please use the argument -v to see more details.
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1
Script @composer install handling the new-install event returned with error code 1

```

utilizo windows 10, estou tentando instalar a versao do ieducar 2.3 e seguindo o tutorial de instalação

---

<div class="post-metadata">

**Author:** ![Ivyna](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@Ivyna](https://forum.ieducar.org/u/Ivyna)\
**Post date:** [Abril 26, 2026, 9:46pm UTC](https://forum.ieducar.org/t/erro-instalacao-via-docker-windows/1101/2 "2026-04-26T21:46:47Z")

</div>

Boa tarde, conseguiu instalar via docker no windows?
