Basic of Installation Docker in Kali Linux

Install docker in kali

Step 1: $ sudo apt-get update

Step 2:$ sudo apt-get install docker-ce docker-ce-cli containerd.io

Step 3:$ sudo apt-get install docker-ce docker-ce-cli containerd.io

Check whether install correctly or not

Step 4:$ sudo docker run hello-world

Step 5: Swith to Root user in kali

$ sudo su

Step 6: Get github file

https://github.com/rahulunair/vulnerable-api#readme

$ docker run -tid -p 8081:8081 --name api mkam/vulnerable-api-demo

Step 7:  You can now test your api

curl localhost:8081 -v

To list images

$ docker image ls

To pull back image

               $ docker pull mkam/vulnerable-api-demo

Run in port

$ curl localhost:8081 -v

Run the app

$ docker run -tid -p 8081:8081 --name api mkam/vulnerable-api-demo


Comments

Popular posts from this blog

Using Burp Suite - Brute Force payloads using XSS Validator(Extension) | Shahul Hameed

Janus Vulnerability Exploitation

SQL Basics | Shahul Hameed