Installed: Docker, Java 1.8, Maven 3.x
Crud Operation Spring Boot with Docker
$ git clone https://github.com/hasankadirdemircan/hello-world-spring-boot-docker.git .
$ mvn clean install
#should be maven test closed (skip test)
#IntelijIDEA steps -> File -> Settings -> Build,Execituion.. -> Build Tools -> Maven -> Runner -> Properties -> Skip Test (Should be Checked)
$ docker-compose up -d
#If your spring boot exit(stopped)
#IntelijIDEA steps -> File -> Settings -> Build,Execituion.. -> Docker -> Unix Socket (Should be Checked)
for test the running docker image
$ docker image ls
for test the running docker container
$ docker container ps
for test the running docker-compose
$ docker-compose ps
โ