Skip to content

imjonos/wsl2-docker-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

wsl2 docker start script

Script adding wsl2 and winhost to windows hosts file File Windows/System32/drivers/etc/hosts should be writebable for user from which launched WSL2

How to use

  1. Copy to /usr/local/bin
  2. $ docker-start
  3. Enjoy!)

Your docker server now available here tcp:https://wsl2:2375 And any other services

xDebug config examle

zend_extension=xdebug.so
xdebug.remote_host=winhost
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_connect_back=0
xdebug.idekey=PHPSTORM
xdebug.remote_autostart=1
xdebug.remote_log = /home/user/xdebug.log

About

Script added wsl2 host to windows hosts file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages