DockerPwn.py
DockerPwn.py copied to clipboard
API Did not return a valid container ID
Any suggestions on where to go troubleshooting/what might be happening if I keep failing right here?
I'm getting an initial response from the API probe and Postman returns 200 when creating the image
dockerConnection.request('POST', '/images/create?fromImage=' + image + '&tag=latest')
But the next call to create the container is what's dying on me, returning 500 EOF
It's possible that either the image has not finished downloading yet if you are using a large image or a slower connection. It's also possible there's something unforeseen in the Docker instance you're running.
What Host OS, Docker Build, and Image are you attempting to use?
Gigabit connection, tried base minimal debian/ubuntu/alpine images
Tested against two different OS's - Ubuntu 18.04.2 and CentOS 7. Same error for both. (These are both VMs)
Docker Builds Ubuntu "ServerVersion": 18.09.7 "KernelVersion": "5.0.0-1025-azure"
CentOS7 "ServerVersion": 19.03.2 "KernelVersion": 3.10.0-957.27.2.el7.x86_64