jibin james
jibin james

Reputation: 29

Docker java api , java - docker

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();

Upvotes: 1

Views: 215

Answers (0)

Related Questions