skip to Main Content

I have a spring boot application in my local machine , i want to containerize it without installing docker in local machine and i want to deploy it in a Cent Os machine which docker has installed in an offline mode .

while i have tried to containerizing it by building an image file , it is actually looking for Docker Daemon in local and the build is getting failed.

2

Answers


  1. Without Docker engine you cannot containerize the application, Docker daemon is needed for creating the container for your spring boot application in unix. You can use ECS on AWS that can create the container without docker but lot of configurations and deep knowledge is needed for that.

    Login or Signup to reply.
  2. Using GoogleContainerTools’ Jib you can easily build a Docker compliant container image without Docker installed.

    You need to install the Jib plugin in your pom.xml or gradle.build file.

    Here is a simple example: https://www.baeldung.com/jib-dockerizing

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search