PDA

View Full Version : Running Kali Linux in a Docker container



proppen
2014-01-28, 20:30
Hello,

I've created the Docker image linux/kali (https://index.docker.io/u/linux/kali/) and tought maybe the Kali community would be interested in this. So if you want to run Kali within a Docker container on any Linux distribution all you should need to do is

docker run -t -i linux/kali /bin/bash

If you'd rather build your own base image you've got the buildscript on GitHub (https://github.com/docker-linux/kali) you can use as an example.

micoalex
2014-03-20, 14:48
I got the image and it seems pretty cool. is there any way you know in how to make kali accessible from the host machine?
to access it in a way like ssh root@<host_machine> -p 1234 ?? how do you set this up?
I'm still new to docker and I want to see if there's more that I can do with it. I think information is not so well documented still

proppen
2014-03-21, 11:58
Yes, you can access it in different ways.
If you're on the machine you can use "docker inspect <id>" to see your IP address etc. But why not just "docker attach" so you get to the console?
Also you can make your docker instance access your LAN. Read this (http://docs.docker.io/en/latest/use/networking/)