IIEC_Docker_Project MY-personal-CTF-LAB(inside Docker)

Under IIEC-RISE 1.0 Campaign I learnt about Docker under the guidance of Vimal Daga Sir

Vulnerable web application list

  1. juice-shop
  2. bwapp
  3. webgoat-7.0
  4. mutillidae
  5. web-dvwa

What is docker?

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and deploy it as one package. Docker is a bit like a virtual machine. But unlike a virtual machine, rather than creating a whole virtual operating system, Docker allows applications to use the same Linux kernel as the system that they're running on and only requires applications be shipped with things not already running on the host computer. This gives a significant performance boost and reduces the size of the application.

Docker installation

                    sudo apt-get install docker-engine 
                    sudo yum install docker-engine -y

Start Docker

                    systemctl start Docker

Stop Docker

                    systemctl stop Docker

Enable Docker

                    systemctl enable docker

Pull Docker images (hub.docker)

                   docker pull bkimminich/juice-shop
                   
                   dcoker pull <image name>

Push Docker images

                  docker push <imagename> 

Run Docker image

                  docker run --rm -p <Expo port no>:<port no.> <image name> 
                  
                  docker run --rm -p 3000:3000 bkimminich/juice-shop

"-p " is use for expose port outside the docker image

Access the container

                  http://localhost:3000   
                  http://localhost:<Expo port No>

Docker images links

                  docker pull bkimminich/juice-shop 
                  docker pull vulnerables/web-dvwa
                  docker pull szsecurity/mutillidae
                 docker pull webgoat/webgoat-7.1
                 docker pull raesene/bwapp

Docker Compose

Before using Docker-Compose you should install the software. For reference go to this website :

(https://docs.docker.com/compose/install/)

  • You can create and edit this file the file name should always be docker-compose.yml.

Docker compose start

                    Docker-compose up

Docker compose stop

                    Docker-compose down

Note:-

    this image no support in your docker Engine try with different  version of images.

References:

I learnt this technology totall free of cost in YouTube.Under IIEC-RISE 1.0 Campaign

Youtube link (https://www.youtube.com/playlist?list=PLAi9X1uG6jZ30QGz7FZ55A27jPeY8EwkE)