You are on page 1of 4

Basic Trouble Shooting Docker Windows 10:

https://docs.docker.com/docker-for-windows/troubleshoot/

Windws 10 Home Users:-

You might get this error – because of OLD Version OS.

Solution:

If you are using windows 10 Home

First open your command prompt and check for version – highlighted in yellow in below screenshot

Version should be greater than -> 19018 -> if it is less then update widows home from ->
https://support.microsoft.com/en-in/help/4027667/windows-10-update

After this you can follow instruction from below link and install docker

https://docs.docker.com/docker-for-windows/install-windows-home/

Not Enough Memory Issue:


Solution:

Restart your system and restart Docker (Again if you get error try as Admin)

Module 6:

Solution

node () {     {     environment {     PATH =


"C:\\Users\\515702\\AppData\\Roaming\\Microsoft\\Windows\\Start
Menu\\Programs\\System Tools"
         stage ('Git Checkout') {       checkout([$class: 'GitSCM', branches: [[name: '*/master']],
doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [],
userRemoteConfigs: [[credentialsId: '', url:
'https://github.com/TechnologyBootCamps/functional-assurance']]])     }     stage ('Run
Zalenium Grid') {         if (isUnix()) {         sh """         docker rm -f \$(docker ps -a -q)        
docker run -d --rm -ti --name zalenium -p 4444:4444 -v
/var/run/docker.sock:/var/run/docker.sock -v /tmp/videos:/home/seluser/videos --privileged
dosel/zalenium start          """          }         else         {           bat """              FOR /f "tokens=*"
%%i IN ('docker ps -aq') DO docker stop %%i && docker rm %%i              docker run -d --rm
-ti --name zalenium -p 4444:4444 -v /var/run/docker.sock:/var/run/docker.sock -v
/tmp/videos:/home/seluser/videos --privileged dosel/zalenium start           """            }     }     
stage ('Execute Scripts') {        if (isUnix()) {          sh """         mvn clean test
-Dcucumber.options="--tags '@UITest and @Smoke'"
-DexecutionPlatform="GRID_CHROME"         """        }        else        {         bat """         mvn
clean test -Dcucumber.options="--tags '@UITest and @Smoke'"
-DexecutionPlatform="GRID_CHROME"         """         }     } } }

Jenkins:- Any Environmental Variable Issue

Extent Report CSS Alignment Issue:


System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")

Zalenium Bad Gateway:

Solution:

Please wait server might be loading – please try after couple of minutes

You might also like