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

Update README with Docker testing #5

Open
kaanyagci opened this issue May 1, 2024 · 0 comments
Open

Update README with Docker testing #5

kaanyagci opened this issue May 1, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@kaanyagci
Copy link
Contributor

kaanyagci commented May 1, 2024

  • Build Docker image
docker build . -t fp-test
  • Start Docker container
docker run -d -p 9090:9090 --name simple-forward-proxy  fp-test
  • Create Docker network
docker network create <network-name>
  • Connect proxy server to network
docker network connect <network-name> simple-forward-proxy
  • Pull the debian:bookworm image
docker pull debian:bookworm
  • Create a dummy Debian container with /bin/bash
docker run -d -it  --name transparent-proxy-tester debian:bookworm /bin/bash
  • Connect this to the network
docker network connect <network-name>  transparent-proxy-tester
  • Use CURL with https://hub.docker.internal or https://simple-forward-proxy instead of localhost for proxy address
@kaanyagci kaanyagci self-assigned this May 1, 2024
@kaanyagci kaanyagci added the documentation Improvements or additions to documentation label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant