Skip to main content

Docker Success Center

The Docker enterprise customer portal.

Docker, Inc.

ASCII Codec Can't Encode Character

When I try to deploy with a stack file wtih Docker Cloud, I get the following error message:

Unexpected error executing docker command create_container: 'ascii' codec can't encode character 'some-character' in position 20: ordinal not in range(128)

If you get this error message, double check your stack file and make sure that there isn't any extra spaces or hidden characters.

  • Was this article helpful?