How to run Kali Linux 2.0 in a Docker container

Source: Internet
Author: User
Tags kali linux docker run linux mint

Https://linux.cn/article-6103-1.html

Kali Linux is a well-known operating system for security testers and white hat. It comes with a lot of security-related programs, which makes it easy for penetration testing. Recently, Kali Linux 2.0 was released, and it was considered to be the most important release of the operating system. On the other hand, Docker technology has become popular due to its extensibility and ease of use. Dokcer makes it very easy for you to bring your program to your users. The good news is that you can run Kali Linux through Docker, so let's see what we have to do:)

Running Kali Linux 2.0 in Docker

Related Tips

If you haven't installed Docker in your system yet, you can run the following command:

For Ubuntu/linux Mint/debian:

  1. sudo apt-get install docker

For Fedora/rhel/centos:

  1. sudo yum install docker

For Fedora 22:

  1. dnf install docker

You can run the following command to start Docker:

  1. sudo docker start

Run the following command first to ensure that the Docker service is working properly:

    1. sudo docker status

The Kali Linux development team has uploaded the Kali linux docker image and only needs to enter the following command to download the image.

    1. docker pull kalilinux/kali-linux-docker

Pull Kali Linux Docker

Once the download is complete, run the following command to find out the ID of the Docker image you downloaded.

    1. docker images

Kali Linux Image ID

Now run the following command to launch the Kali Linux Docker container from the image file (this needs to be replaced with the correct mirror ID).

    1. docker run -i -t 198cd6df71ab3 /bin/bash

It will start the container immediately and let you log into the operating system, and you can now work in Kaili Linux.

Kali Linux Login

You can verify that the container is up/running by using the following command outside the container:

    1. docker ps

Docker Kali

Summarize

Docker is one of the smartest ways to deploy and distribute packages. The Kali Linux Docker image is easy to use and does not consume a lot of hard disk space, so it's easy to test this great release on any Docker-installed operating system.

via:http://linuxpitstop.com/run-kali-linux-2-0-in-docker-container/

How to run Kali Linux 2.0 in a Docker container

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.