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

create dockerfile #1

Open
hao10 opened this issue Dec 8, 2022 · 0 comments
Open

create dockerfile #1

hao10 opened this issue Dec 8, 2022 · 0 comments

Comments

@hao10
Copy link

hao10 commented Dec 8, 2022

FROM gcc:latest

RUN git clone https://github.com/hellojixian/ddos.git --depth=1 \
	&& cd ddos \
	&& make

ENV HOST="127.0.0.1"
ENV PORT="80"

CMD ["/bin/bash", "-c", "/ddos/flood -t $HOST -p $PORT"]

docker run --rm -it -e HOST=127.0.0.1 -e PORT=80 ddos

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

No branches or pull requests

1 participant