#Webstorm Dockerized Launch webstorm through a docker container.
- Docker
- Docker-compose
- Need to be on Linux
- Git clone
- docker-compose up -d
If all went well, webstorm should launch. You'll either be asked to import webstorm settings or use the existing ones located in your home directory
- If you run into an error, it's probably due to the user id assigned to 'developer' not matching your user id on the host. To resolve, run ls -lnah and see what user id is being used. Update the dockerfile with the user id and rebuild the docker image and run the container again.
As Docker currently does not natively run on osx, you cannot volumize the x11 socket and must perform a few steps to work around this.
In osx, we will be forward x11 to a tcp socat service that will redirect to xquarz.
- brew install socat
- brew cask install xquartz
- open -a XQuartz
- open xQuartz
preference
and modifysecurity
setting toallow connections network clients
- socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:"$DISPLAY"
- edit environment variable DISPLAY in docker-cmopose.yml to your IP address with :0. Will look something like
- DISPLAY=192.168.1.11:0
You need to replace 192.168.1.11 with your hosts ip address. look for en0 ip address onifconfig
- docker-compose up
- Ability to easily load up your project files
- Ability to easily load up webstorm your keymap and configurations
- See how we can configure for Macs and other OS other than ubuntu using X.11