0
1

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 1 year has passed since last update.

wsl2で環境構築してみたけど2点で躓いたので。

Posted at

環境
 Ubuntu

  1. apt updateでエラーになる。
     →/etc/resolv.confを書き換えてから実行することで解決
      nameserver 8.8.8.8

 参考URL:https://yoshinorin.net/articles/2020/08/22/wsl2-network-error/

  1. curlコマンドでlaravelをインストールする際に
    docker is not runningのエラーが発生する。
     →dockerが権限で利用できないらしい。
      sudo usermod -aG docker $USER を実行することで解決

 参考URL:https://zenn.dev/rhene/articles/docker-on-wsl2-without-docker-desktop

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?