Bom dia, alguém pode me ajudar?
Estou executando meu arquivo docker-compose.yml e está aparecendo o seguinte erro:
Pulling db (mysql:5.7)...
Traceback (most recent call last):
File "docker-compose", line 6, in <module>
File "compose\cli\main.py", line 72, in main
File "compose\cli\main.py", line 128, in perform_command
File "compose\cli\main.py", line 1077, in up
File "compose\cli\main.py", line 1073, in up
File "compose\project.py", line 548, in up
File "compose\service.py", line 361, in ensure_image_exists
File "compose\service.py", line 1250, in pull
File "compose\progress_stream.py", line 102, in get_digest_from_pull
File "compose\service.py", line 1215, in _do_pull
File "site-packages\docker\api\image.py", line 396, in pull
File "site-packages\docker\auth.py", line 48, in get_config_header
File "site-packages\docker\auth.py", line 324, in resolve_authconfig
File "site-packages\docker\auth.py", line 235, in resolve_authconfig
File "site-packages\docker\auth.py", line 264, in _resolve_authconfig_credstore
File "site-packages\docker\credentials\store.py", line 35, in get
File "site-packages\docker\credentials\store.py", line 93, in _execute
File "site-packages\docker\credentials\errors.py", line 23, in process_store_error
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 64: ordinal not in range(128)
[15148] Failed to execute script docker-compose
Arquivo docker-compose.yml:
version: '3.1'
services:
wordpress:
image: wordpress
restart: always
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: exampleuser
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
volumes:
- wordpress:/var/www/html
db:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db:/var/lib/mysql
volumes:
wordpress:
db: