Daquan problem

1, Docker input terminal can not solve the problem of Chinese

https://www.jianshu.com/p/ca38a159da73

You can not enter Chinese Cause: The system uses the POSIX character set, POSIX does not support Chinese character set, but C.UTF-8 support Chinese LANG environment as long as the system was changed to "C.UTF-8" format that is solve the problem

As long as such into the vessel to enter Chinese: 

docker exec -it b18f56aa1e15 env LANG=C.UTF-8 /bin/bash

This amendment is only a temporary modification. To permanently modify, you need to set the dockerfile when creating container.

Guess you like

Origin www.cnblogs.com/Luv-GEM/p/11512270.html