LoginSignup
1
0

【WSL2 + Docker】WSL2 dockerがよく落ちるので.wslconfigを設定してみた

Last updated at Posted at 2024-03-12

はじめに

社用やプライベートPCでもdockerを最近は多用している。
が、めちゃくちゃ重くてPCを1日に何度も再起動しているので色々調べてみたら
「.wslconfg」を設定したらほぼほぼ落ちなくなったので備忘録として書き留めておく。

.wslconfgのファイル設置場所

基本的にはユーザーディレクトリの直下に設置する。

C¥User¥user¥.wslconfig

.wslconfigの中身

.wslconfig
[wsl2]
memory=6GB
processors=4

終わりに

まじで落ちなくなった。。。

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