title: Why composer in laravel no install package in wsl 2 docker
body: <p>I'm trying install laravel package via composer in WSL 2 docker with <code>sail</code> laravel CLI, but composer not install package, why?</p>
  <p><strong>Error screenshot</strong>
  <a href="https://i.stack.imgur.com/zSkto.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zSkto.png" alt="enter image description here" /></a></p>
  <p><strong>docker file</strong></p>
  <pre><code># For more information: https://laravel.com/docs/sail
  version: '3.8'
  services:
      laravel.test:
          build:
              context: ./vendor/laravel/sail/runtimes/8.0
              dockerfile: Dockerfile
              args:
                  WWWGROUP: '${WWWGROUP}'
          image: sail-8.0/app
          ports:
              - '${APP_PORT:-80}:80'
          environment:
              WWWUSER: '${WWWUSER}'
              LARAVEL_SAIL: 1
          volumes:
              - '.:/var/www/html'
          networks:
              - sail
          depends_on:
              - mysql
      mysql:
          image: 'mysql:8.0'
          ports:
              - '${FORWARD_DB_PORT:-3306}:3306'
          environment:
              MYSQL_ROOT_PASSWORD: '${DB_PASSWORD}'
              MYSQL_DATABASE: '${DB_DATABASE}'
              MYSQL_USER: '${DB_USERNAME}'
              MYSQL_PASSWORD: '${DB_PASSWORD}'
              MYSQL_HOST: '${DB_HOST}'
              MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
          volumes:
              - 'sailmysql:/var/lib/mysql'
          networks:
              - sail
      phpmyadmin:
          image: 'phpmyadmin'
          container_name: pma
          environment:
              PMA_HOST: '${DB_HOST}'
              PMA_PASSWORD: '${DB_PASSWORD}'
              PMA_ARBITRARY: 1
          restart: always
          ports:
              - 8081:80
          depends_on:
              - mysql
          networks:
              - sail
  networks:
      sail:
          driver: bridge
  volumes:
      sailmysql:
          driver: local
      sailredis:
          driver: local
  
  </code></pre>
  <p><strong>information</strong></p>
  <ul>
  <li>windows version 10 build 19042</li>
  <li>debian wls 2</li>
  <li>docker 20.10.2, build 2291f61</li>
  <li>laravel 8</li>
  <li>composer integrated with laravel  2.0.8</li>
  </ul>
  <p>how do I solve this?</p>