VulnerableWordpress icon indicating copy to clipboard operation
VulnerableWordpress copied to clipboard

Ubuntu 14.04 Notes for readme

Open pvdl opened this issue 9 years ago • 6 comments

Installing the Docker client on Ubuntu 14.04. Some notes for the readme

$ docker pull wpscanteam/vulnerablewordpress

If you got this error:

FATA[0000] Post http:///var/run/docker.sock/v1.18/images/create?fromImage=wpscanteam%2Fvulnerablewordpress%3Alatest: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? 

Execute this command to make a blank docker.sock file:

$ sudo touch /var/run/docker.sock

Start docker as a daemon:

$ sudo docker -d

If you get this error:

INFO[0000] +job serveapi(unix:///var/run/docker.sock)   
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) 
INFO[0000] +job init_networkdriver()                    
INFO[0000] -job init_networkdriver() = OK (0)           
WARN[0000] Your kernel does not support cgroup swap limit. 
FATA[0000] Shutting down daemon due to errors: Error loading docker apparmor profile: fork/exec /sbin/apparmor_parser: no such file or directory () 

Install apparmor

sudo apt-get install apparmor

pvdl avatar Apr 30 '15 20:04 pvdl

are these docker specific hints? Maybe we should just assume the user has already installed docker?

firefart avatar Apr 30 '15 20:04 firefart

@FireFart agree with you. Starting point should be a working Docker client. See this as a part of my learning curve :smile: It's also a quick and dirty reminder and notepad.

pvdl avatar Apr 30 '15 20:04 pvdl

Don't remember having such issues when using docker on Ubuntu for the wpscan-docker

Was a long time ago tho :/

erwanlr avatar Apr 30 '15 20:04 erwanlr

i tried it yesterday with this guide and it worked (required a reboot): https://docs.docker.com/installation/ubuntulinux/

firefart avatar Apr 30 '15 20:04 firefart

@FireFart. Found that install page too. I have Mint 17.1 (bases on Ubuntu 14.04), but the script didn't worked for me 100%.

I think we should add at least the URL at our readme file as a starting point.

pvdl avatar Apr 30 '15 20:04 pvdl

@pvdl sure feel free to put instructions in the readme (you can also edit it directly on github without checking it out)

firefart avatar May 02 '15 19:05 firefart