3 ms·
Well, let's say my project's in C:\Development\Projects\MyAmazingProject I can open bash there (WSL), or start a container docker run -v C:\Development\Projec
by cube2222 9y ago
Well, let's say my project's in C:\Development\Projects\MyAmazingProject
I can open bash there (WSL), or start a container
docker run -v C:\Development\Projects\MyAmazingProject:/mnt/project --net=host -it ubuntu bash
Though i usually do this only when I need to debug something. (WSL can't spawn additional threads, which breaks for example Delve, the Go debugger)
Need to connect to a cassandra db? docker run -it cassandra cqlsh mycassandraaddress
Docker compose works well too. And because WSL has unified network interfaces with windows, I can easily start a process in WSL and access a DB which I've run in docker.
I use docker from PowerShell, just saying.