Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Docker client inside WSL + Container running under Docker on Windows (tested on Hyper-V's VM)
- docker run --add-host=localhost:$(ifconfig | grep -E "([0-9]{1,3}\.){3}[0-9]{1,3}" | grep -v 127.0.0.1 | awk '{ print $2 }' | cut -f2 -d: | head -n1) -it <...containerID...> /bin/bash
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement