1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Dockerの CentOS8 イメージのlocale 設定

Posted at

概要

Docker の CentOS8 イメージを取得したが、locale にja_JPが存在しない。
ロケールの取得から設定までの手順を記載する。

手順

日本語localeの取得

dnf -y install langpacks-ja

下記コマンドでja_JPが存在するか確認する。

localectl list-locales

設定

localectl set-locale LANG=ja_JP.UTF-8

設定の反映

source /etc/locale.conf

以上

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?