Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Dockerfile specific to the master branch #32

Closed
wants to merge 1 commit into from
Closed

Added Dockerfile specific to the master branch #32

wants to merge 1 commit into from

Conversation

sdcampbell
Copy link
Contributor

Note: This Dockerfile will only work with the master branch.

To build the Docker image:
docker build -t recon-ng .

To run recon-ng:
(First ensure that the ~/.recon-ng directory exists on your host.)
docker run --rm -it -v ~/.recon-ng:/root/.recon-ng recon-ng

To run recon-web:
docker run --rm -it -v ~/.recon-ng:/root/.recon-ng --entrypoint "./recon-web" -p 5000:5000 recon-ng --host 0.0.0.0

To run recon-cli:
docker run --rm -it -v ~/.recon-ng:/root/.recon-ng --entrypoint "./recon-cli" recon-ng

Note: This Dockerfile will only work with the master branch. 

To build the Docker image:
docker build -t recon-ng .

To run recon-ng:
(First ensure that the ~/.recon-ng directory exists on your host.)
docker run --rm -it -v ~/.recon-ng:/root/.recon-ng recon-ng

To run recon-web:
docker run --rm -it -v ~/.recon-ng:/root/.recon-ng --entrypoint "./recon-web" -p 5000:5000 recon-ng --host 0.0.0.0

To run recon-cli:
docker run --rm -it -v ~/.recon-ng:/root/.recon-ng --entrypoint "./recon-cli" recon-ng <command>
@lanmaster53
Copy link
Owner

I'm going to close this one and modify the staging version before I merge it into master. Thank you for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants