Browse Source

Update 'README.md'

master
parent
commit
4dfc2a4fda
1 changed files with 48 additions and 1 deletions
  1. +48
    -1
      README.md

+ 48
- 1
README.md View File

@ -45,7 +45,54 @@ $ docker run --rm -it -v`pwd`:/mnt \
gmarxcc/texstudio:0.16 gmarxcc/texstudio:0.16
root@d442a76cd169:/# root@d442a76cd169:/#
``` ```
this means that you are already have mounted the 'texstudio:0.16' image. In order to test the image, run 'texstudio':
this means that you are already have mounted the 'texstudio:0.16' image.
---
### If you are using **Windows**:
* Firts open or [install](https://sourceforge.net/projects/vcxsrv/) *VcXsrv Windows X Server*. When *VcXsrv Windows X Server* is open make sure to have selected as follow the **extra settings**. Check all options as below and finish configuration.
![XLauch settings](https://cuneyt.aliustaoglu.biz/en/content/images/2018/11/xlaunch.png)
* Get your IP address using ipconfig command at the **PowerShell**:
```
PS C:\Users\gmarx> ipconfig
......
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : rga.ip
IPv6 Address. . . . . . . . . . . : 2806:103e:5:e64e:d01:9a10:1ba8:8577
Temporary IPv6 Address. . . . . . : 2806:103e:5:e64e:44a7:4800:cc9a:7a3c
Link-local IPv6 Address . . . . . : fe80::d01:9a10:1ba8:8577%2
IPv4 Address. . . . . . . . . . . : 192.168.1.77
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::1%2
192.168.1.254
```
**remember to use a physical adapter activaded, it means whit an IP address, in my case is Wi-Fi adapter IPv4 192.168.1.77.
Now you can go to the folder you want to mount at docker and run the container using the next commands
```
PS C:\Users\gmarx>cd myFolder
PS C:\Users\gmarx\myFolder> $ docker run --rm -it -v ${PWD}:/mnt -e DISPLAY=192.168.1.77:0.0 gmarxcc/texstudio:0.16
root@d442a76cd169:/#
```
this means that you are already have mounted the 'texstudio:0.16' image.
![](powershell.png)
---
### Testing the docker image with texstudio
In order to test the image, run 'texstudio':
``` ```
root@d442a76cd169:/# texstudio root@d442a76cd169:/# texstudio
``` ```


Loading…
Cancel
Save