Results 1 to 3 of 3

Thread: Running Kali Linux in a Docker container

  1. #1
    Join Date
    2014-Jan
    Posts
    3

    Running Kali Linux in a Docker container

    Hello,

    I've created the Docker image 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
    Code:
    docker run -t -i linux/kali /bin/bash
    If you'd rather build your own base image you've got the buildscript on GitHub you can use as an example.

  2. #2
    Join Date
    2013-Mar
    Posts
    2
    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

  3. #3
    Join Date
    2014-Jan
    Posts
    3
    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

Similar Threads

  1. Replies: 1
    Last Post: 2022-11-16, 14:44
  2. Using the Kali Linux container image in LXD
    By xjitter in forum How-To Archive
    Replies: 3
    Last Post: 2020-04-20, 17:07
  3. Using the Kali Linux container image in LXD
    By simos in forum Installing Archive
    Replies: 1
    Last Post: 2019-09-01, 17:53
  4. No docker.io or docker-ce for Kali 2017.1?
    By datajerk in forum General Archive
    Replies: 0
    Last Post: 2017-05-02, 03:14

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •