DEV Community

Discussion on: Docker on Windows or Ubuntu for development?

Collapse
 
abdel777 profile image
abdellah Frindou • Edited

Thanks for your replay. I just wanna ask, i use also docker on VirtualBox (Ubuntu) but my application (spring boot application with gradle) with the Dockerfile exists on windows. Do you have any idea how can we build an image of it. The problem when using the ./gradlew command to build the task is fuild as doesn't recognize docker command which is not exists on windows. Any ideas ??

Collapse
 
ykyuen profile image
Yuen Ying Kit

i guess u may need to ssh into the ubuntu and execute the build command.

or create a .bat script on windows for the above action such that u could run it on windows directly.