Posts

Showing posts from April, 2017

Docker and Spring Boot on Windows 10 Home

This is my first blog post so please be gentle 😃 I recently attended the Belfast Java User Group   Docker & Spring Boot in Practice  talk by Hudson Mendes slides  here . I was going through some of the examples on a windows 10 home machine and here are some notes that might be useful to someone.  Note the instructions will likely be different on a different OS. From an IDE e.g. Spring tool suite – create a workspace Download and install docker toolbox (community version doesn’t work on Windows 10 home) Connect to github https://github.com/hudsonmendes/belfastjug-sample-2 Switch to branch dockerfile in Spring tool suite git repository view Copy files from HOME\git\hudsonmendes\belfastjug-sample-2 to workspace directory – note for dockerfile branch the folder must be called “api-example” that has build.gradle etc. in it. From docker quick start terminal – cd to api-example directory run “./gradlew eclipse” – this generates the eclipse files Import existing pr