Docker Community Forums

Share and learn in the Docker community.

UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 34: ordinal not in range(128)


(180795) #1

After docker-compose up I have this error:

Traceback (most recent call last):
File “/usr/bin/docker-compose”, line 11, in
load_entry_point(‘docker-compose==1.18.0’, ‘console_scripts’, ‘docker-compose’)()
File “/usr/lib/python3.6/site-packages/compose/cli/main.py”, line 71, in main
command()
File “/usr/lib/python3.6/site-packages/compose/cli/main.py”, line 124, in perform_command
handler(command, command_options)
File “/usr/lib/python3.6/site-packages/compose/cli/main.py”, line 959, in up
start=not no_start
File “/usr/lib/python3.6/site-packages/compose/project.py”, line 452, in up
svc.ensure_image_exists(do_build=do_build)
File “/usr/lib/python3.6/site-packages/compose/service.py”, line 324, in ensure_image_exists
self.build()
File “/usr/lib/python3.6/site-packages/compose/service.py”, line 972, in build
all_events = stream_output(build_output, sys.stdout)
File “/usr/lib/python3.6/site-packages/compose/progress_stream.py”, line 23, in stream_output
print_output_event(event, stream, is_terminal)
File “/usr/lib/python3.6/site-packages/compose/progress_stream.py”, line 90, in print_output_event
stream.write("%s%s" % (event[‘stream’], terminator))
UnicodeEncodeError: ‘ascii’ codec can’t encode character ‘\xe9’ in position 34: ordinal not in range(128)
In ubuntu 16.04 and his Virtual Machine works correctly