DEV Community

VA-11 Hall-A:東方算術騎士団【令和版】
VA-11 Hall-A:東方算術騎士団【令和版】

Posted on • Edited on

3 1

Windows10のWSLでDockerとDockerComposeを動かすところまでメモ

残念ながら上記では動かず(2019/07/20)

Dockerまでは動くがそれ以降のDocker-Compose下記のエラーで動かない

# sudo docker-compose up
Creating network "etl_default" with the default driver
ERROR: Failed to Setup IP tables: Unable to enable NAT rule:  (iptables failed: iptables --wait -t nat -I POSTROUTING -s {ip}/16 ! -o br-e9ec09beb9a3 -j MASQUERADE: iptables: No chain/target/match by that name.
 (exit status 1))

エラー文でぐぐってみると
dockerは動く、しかしネットワーク回りがダメってことらしいこれ解消できるのだろうけれどその道のプロでもないしなぁ…

参考:

dockerをWindows10 HomeのWSL (Windows Subsystem for Linux)で動かしてみた https://www.scriptlife.jp/contents/programming/2018/07/09/docker-on-wsl/
WSLで「普通」にDockerが動くようになっていた話(しかしdocker-composeは動かない) - 無気力生活 (ノ ´ω`)ノ ~゜ https://gdgd-shinoyu.hatenablog.com/entry/2018/07/10/032023
WindowsとDockerは食い合わせが悪い https://qiita.com/Hibikine_Kage/items/4b5c0f5f72e4d03b4797 #Qiita

WSL2の記事もあったので帰ったらためしてみまする。

wsl2でdocker-composeの風を感じてみる - 無気力生活 (ノ ´ω`)ノ ~゜ https://gdgd-shinoyu.hatenablog.com/entry/2019/07/25/024013

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay