Install Metasploitable2 via docker (Ubuntu)

Gopi M
Dec 8, 2022

--

First of all install docker on your Ubuntu Machine.

apt install docker.io
fig-1

To check the status of docker, whether it is installed properly and running.

systemctl status docker.service
fig-2

Then pull the metasploitable2 docker image.

docker pull tleemcjr/metasploitable2
fig-3

Check whether the docker image has been successfully downloaded.

docker images
fig-4

Now run the docker container Image file.

docker run -it tleemcjr/metasploitable2
fig-5

Once everything has been built successfully, you should see a terminal prompt like below and check the IP.

fig-6

Now you can Access the Metasploitable2 Vulnerable machine via browser.

fig-7

--

--

Gopi M
Gopi M

Written by Gopi M

Security Researcher, Web Application and Network Pentester, CTF Player, Bug Bounty Hunter, Interested in Learning Technical stuffs.

No responses yet