1

Getting this error when I am running code, I am using java - docker version 3.0.14. I want to create a container using java - docker and have to pass -config API with that and also I have to run a shell script in that newly created container

error

code snippet :

    CreateContainerResponse containerNew
     = client.createContainerCmd("owasp/zap2docker-weekly").withAttachStdout(true).withAttachStderr(true).withStdinOpen(true).withCmd("docker", "run", "--rm", "-i", "-p").exec();
saeed foroughi
  • 1,662
  • 1
  • 13
  • 25
jibin james
  • 19
  • 1
  • 7

0 Answers0