Creating docker images with java application [closed]

Hello i’m just saw a video on docker and i wanted to write a simple program in java to create a docker image, get a list of containers and so on. Would this be possible using java?And if so can i use spring-boot? From the look at it Docker is purely command line and I don’t know how to start but my idea was to write a simple java server and send packets to the docker daemon to be able to create images, get a list of containers and so on. Is this the right way or can it be done using spring-boot by calling the apis. If anyone has implemented the rest api using docker any suggestions or a sample code would be helpful.

  • Enable Remote API on Docker hosts in Ubuntu 14
  • mvn jetty:run-forked inside a docker container?
  • Docker - Properly Mounting Host Directory in Docker Container (Windows)
  • Dockerode works with node, but not via Webpack
  • Debian Jessie - font € sign is rendered as fi ligature
  • How to change owner of Docker for Windows
  • Haskell Yesod stack build runnable file
  • Adding docker container to running OpenShift pod
  • Difference between 'image' and 'build' within docker compose
  • confused with CMD and ENTRYPOINT in dockerfile
  • use docker supervisor automatically run a script after start with a variable given in container start?
  • Running a Bash Script from (on Docker Container B) from Docker Container A
  • One Solution collect form web for “Creating docker images with java application [closed]”

    You can have a look at spotify/docker-client, which implements most of the docker commandline in java.

    It doesn’t use SpringBoot though.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.