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.

  • How to run cucumber/selenium tests in Docker?
  • connecting error mysql db from host to docker container
  • zeppelin can't communicate with Cassandra (docker, windows 10 host)
  • How to send messages to a sub socket running in docker container from host?
  • Vagrant docker provisioner command
  • Setting up CD for a Ruby on Rails project with Bitbucket Pipelines and Docker
  • Best practice for build / deployment of docker images
  • Docker - nginx with custom config
  • How can I delete Docker's images?
  • docker-compose rails rake db:reset fails, “cannot drop the currently open database”
  • docker build with --build-arg with multiple variables
  • docker login to gitlab registry with github account
  • 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.