的相同的Debian 11 靶心,我明白了不同的 locale
对于C
:.utf8
和.UTF-8
:
我的机器:
$ locale -a
C
C.utf8
POSIX
en_US
en_US.iso88591
en_US.utf8
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
然而,在它的 docker 容器中,我得到了:
$ locale -a
C
C.UTF-8
POSIX
en_US
en_US.iso88591
en_US.utf8
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
我想知道差异从何而来以及如何使它们相同。
我的 bullseye docker 容器是两周前才构建的:
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
. . .
debian latest 54e726b437fb 2 weeks ago 124MB