◐ Shell
clean mode source ↗

Error looking up function 'write': The specified procedure could not be found · docker-java/docker-java · Discussion #2089

I am new to docker-java and I was trying the very simple command, docker ps to see the list of containers. But I get the error when the exec is going to be called.

List<Container> containers = dockerClient.listContainersCmd().exec();

Error looking up function 'write': The specified procedure could not be found

Can anyone please help?