Blog Archives

01: Docker Tutorial – compile & run

Docker, Jenkins, CI/CD, & DEV/OPS have been the buzz words for the last several years. You will be seeing this in more often in the job requirements as well. 21 Docker

02: Docker Tutorial – Inspect the container

This extends the 01: Docker Tutorial – compile & run Keep the container running Docker containers are designed to shut down immediately after initial CMD or ENTRYPOINT command is run. …

03: Docker Tutorial – Java & Maven with a jar file

This extends the 01: Docker Tutorial – compile & run Maven pom.xml

04: Docker Tutorial – mount a host directory in a Docker container

mount a host directory into a Docker container so that the folders & files in the host will show up in the Docker container after building the dockerfile. There are a …

05: Docker Tutorial – Client & Server on separate containers & networking

In this tutorial, let’s run a Java socket client & a server in two separate Docker containers. Both the client & server are continuously run, and networked by creating a Docker …

06: Docker Tutorial – Spring boot application

Step 1: Go to “”, and create a skeletal Spring project. Type “web” in the “search dependencies to add” and fill the “group” and “artifact” fields as shown below. Step 2: …

07: Docker Tutorial – Spring boot with Docker maven plugin

This tutorial extends the 06: Docker Tutorial – Spring boot application. In the previous tutorial the Dockerfile has the jar filename & the version. Every time the version changes the Dockerfile …

08: Docker Tutorial – client & server with docker-compose.yml

Q1. What is docker compose? A1. Docker compose allows us to configure and start multiple containers within the same host. This is handy if you don’t want to start each container …

300+ Java Interview FAQs

800+ Java Interview Q&As