Tutorial: Run Spring Boot web service in Windows Docker container

Developer Support

Premier Developer Consultant, Pete Tian demonstrates how to build a Spring Boot web project to run in Docker.


This tutorial walks you through: build a Boot web project, create a Dockerfile, build a Docker image, then run it in Docker.

Create a Spring Boot web service

First, let’s generate a Spring Boot web project. Open a browser, go to http://start.spring.io, in Search for dependencies bar type Web, then click Generate Project button.

The generated source code is saved to a download folder as demo.zip. Extract it to your IDE’s workspace. Import the project by using the wizard Existing Maven Projects.

Continue reading Tian’s post via LinkedIn.

0 comments

Discussion is closed.

Feedback usabilla icon