1
2

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 3 years have passed since last update.

window containerで日本語(ja-JP)を使う方法

Last updated at Posted at 2019-06-03

windows containerの中でどうしても日本語が使いたい場合

Set-WinSystemLocale ja-JPしても動かない

windows containerの中で

powershell
Set-WinSystemLocale ja-JP

しても変更されません
ホストマシンが

powershell
 Get-WinSystemLocale

でja-JPであればそれをそのまま引き継げます
docker runするときにオプションをつけるだけ

powershell
docker run --isolation=process --name test

プロセス分離のオプションです。
コンテナの中に入ってみてGet-WinSystemLocaleしてみてください。

## 宣伝
ツイッターもやってます
技術や製品開発に関する事などを呟いてますので、フォローお願いします
https://twitter.com/wkyIghw8MlLpyJE

1
2
1

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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?