docker-datasploit icon indicating copy to clipboard operation
docker-datasploit copied to clipboard

Issue running Docker after download

Open 7MinSec opened this issue 6 years ago • 0 comments

Hi there,

Just had a chance to pull down the latest Docker image on my clean Ubuntu box, and after doing:

docker pull appsecco/datasploit:1.0

I run this:

docker run --name datasploit -v `pwd`/config.py:/opt/datasploit/config.py:ro -v `pwd`:/opt/datasploit/data -d appsecco/datasploit:1.0

Which gives me this:

docker: Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go:54: mounting \\\\\\\"/root/config.py\\\\\\\" to rootfs \\\\\\\"/var/lib/docker/aufs/mnt/e2d18480af1f2d6b610d0ef2378518894e01115f8b802fe34d9971e1e69ccace\\\\\\\" at \\\\\\\"/var/lib/docker/aufs/mnt/e2d18480af1f2d6b610d0ef2378518894e01115f8b802fe34d9971e1e69ccace/opt/datasploit/config.py\\\\\\\" caused \\\\\\\"not a directory\\\\\\\"\\\"\"\n": Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

Any ideas?

Thanks, Brian

7MinSec avatar Jun 13 '18 05:06 7MinSec