docker์์ centos7 ์ด๋ฏธ์ง๋ฅผ ๋ฐ์ ์์ ์งํ ์ค ๋ฐ์ํ ์ํฉ์ ๋ํ ๊ธฐ๋ก์ด๋ค.
1. Docker CentOS7 ์ด๋ฏธ์ง๋ฅผ pull ๋ฐ์ ์คํ.
2. char-set ์ euc-kr ๋ก ์ค์ ํด์ผ๋๋ ์ํฉ ๋ฐ์
3. locale -a | grep ko ๋ก ์ธํ ๊ฐ๋ฅํ ์บ๋ฆญํฐ ์ ์กฐํ ์ ko ๊ด๋ จ ๊ฐ์ด ์์.
centos7 ์ด๋ฏธ์ง https://hub.docker.com/_/centos
Centos - Official Image | Docker Hub
We and third parties use cookies or similar technologies ("Cookies") as described below to collect and process personal data, such as your IP address or browser information. You can learn more about how this site uses Cookies by reading our privacy policy
hub.docker.com
ํด๊ฒฐ
- docker centos7 ์ด๋ฏธ์ง ๋ด ๊ฒฝ๋ก ์ค, /etc/yum.conf ํ์ผ ๋ด ์๋ ๊ตฌ๋ฌธ ์กด์ฌ.
override_install_langs=en_US.utf8
์ด ๋ผ์ธ์ ์๋ฏธ๋ ๊ธฐ๋ณธ์ ์ผ๋ก ์ค์น๋๋ ์ธ์ด ํฉ์ ์ ํํ๋ ๋ฏํ ๋๋์ ๋ฐ์.
ํด๋น ๋ผ์ธ์ ์ฃผ์ ์ฒ๋ฆฌ ํ๊ณ ์๋ ๋ผ์ธ์ ์คํ.
# ์ฌ์ค์น
yum reinstall glibc-common
๊ทธ๋ฌ๋ฉด ๊ธฐ๋ณธ์ ์ผ๋ก ๋๋ถ๋ถ์ ์ธ์ดํฉ์ด ์๋์ผ๋ก ๊น๋ฆฌ๋ฉฐ, ko_KR.utf8 ๊ณผ ko_KR.eucKR ๋ํ ํฌํจ๋๋ค.
์ฐธ์กฐ > https://serverfault.com/questions/616790/how-to-add-language-support-on-centos-7-on-docker
How to add language support on CentOS 7 (on Docker)?
I'm trying to set locale to Japanese, but CentOS image on docker doesn't include language support. bash-4.2# yum groupinstall -y "Japanese Support" Loaded plugins: fastestmirror Loading mirror spe...
serverfault.com
'๐Docker' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[์ค์ต] Docker Spring Boot + Postgresql (3) (0) | 2022.01.25 |
---|---|
[์ค์ต] Docker Spring Boot + Postgresql (2) (0) | 2022.01.24 |
[์ค์ต] Docker Spring boot + Postgresql (1) (1) | 2022.01.20 |
MS : Docker ์์ต์ ์ ๋ฆฌ (0) | 2022.01.13 |
[MS ์์ต์] Docker Application build Python ์๋ฌ ํด๊ฒฐ (2) | 2022.01.10 |
๋๊ธ