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 staging branch #31

Merged
merged 2 commits into from
Oct 27, 2019
Merged

Added Dockerfile specific to the staging branch #31

merged 2 commits into from
Oct 27, 2019

Conversation

sdcampbell
Copy link
Contributor

Note: This Dockerfile will only work with the staging branch. Once you're ready to push to master, line 8 will have to change to reference 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

lanmaster53 and others added 2 commits October 26, 2019 00:35
Note: This Dockerfile will only work with the staging branch. Once you're ready to push to master, line 8 will have to change to reference 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 lanmaster53 merged commit 2d1e0f4 into lanmaster53:staging Oct 27, 2019
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