![]() ![]() This is due to the last row in our Dockerfile which sets the entry point to the zsh shell. ![]() Note that, unlikely the case of the standard official image, you haven’t to specify the entry point. ![]() Create Kali containerĪt this point, you have to create a new container from the just built image: Note that with -t parameter you can specify a customized name for the image, which you’ll specify in the next command. Kali Linux from the Official Repo The fastest way to create a Docker container is to pull an image from the Docker Hub, a service provided by Docker for finding and sharing container. In order to build an image from this dockerfile, just go on the folder where it is located and simple open your favourite Terminal, typing as follows: Other included tools are: exploitdb, man-db, dirb, nikto, wpscan, uniscan, tor, proxychains. This Dockerfile gets the latest official Kali Linux Docker image and, after doing some updates, installs some tools such as zsh shell, which is my favourite one, and the Kali Linux Top 10 metapackage. So I wrote a Dockerfile - you can find it at - that you could modify by adding or removing tools, commands and configurations files, as you prefer. These are the main tools which are included. ![]() The more elegant and recommended way to build a Docker image is to write a Dockerfile. A simple dockerfile which allows you to build a docker image starting from the latest official one of Kali Linux and including some useful tools. Once this process is over, let’s create a Kali container by typing:ĭocker run -ti kalilinux/kali-rolling /bin/bashĪnd we are done! Now you have your Kali Linux container perfectly working. So, open your favourite Terminal and pull the official Kali Linux Docker image, typing as follows: Configure the container with the following options: Exposed ports (vnc, x2go, rdp, ssh) Desktop environment (xfce, kde, gnome, mate, etc.) Remote access software (vnc, x2go, rdp) Kali packages to install (core, default everything, etc. The fastest way to create a Docker container is to pull an image from the Docker Hub, a service provided by Docker for finding and sharing container images. kali-linux-docker A Docker solution for running a local, customizable full Kali Linux distribution. ![]()
0 Comments
Leave a Reply. |