Docker

From RHS Wiki
Revision as of 13:32, 24 May 2017 by Rafahsolis (talk | contribs) (Created page with "= Install = curl -sSL https://get.docker.com/ | sh docker pull python:2.7 docker run -i -t python:2.7 docker docker run -i -t python:2.7 bash docker ps -a docker pull l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install

curl -sSL https://get.docker.com/ | sh
docker pull python:2.7
docker run -i -t python:2.7
docker docker run -i -t python:2.7 bash
docker ps -a
docker pull linuxkonsult/kali-metasploit
docker search kali
docker run -i -t linuxkonsult/kali-metasploit bash

# Remove all containers
docker rm $(docker ps -aq)  

#  Remove incompletely built images:
docker images | grep none | awk '{print "docker rmi " $3;}' | sh