HttpAnsweringMachine
HttpAnsweringMachine copied to clipboard
Running on docker without custom proxy
- https://paraspatidar.medium.com/add-self-signed-or-ca-root-certificate-in-kubernetes-pod-ca-root-certificate-store-cb7863cb3f87
- setting anyway the dns
- run the docker build without docker compose
- or setup a k8s with dns
docker network create [OPTIONS] NETWORK
You can also use the docker run --network=
Exciting new stuff!!
https://www.baeldung.com/ops/docker-assign-static-ip-container
sudo docker network create \
--driver=bridge \
--subnet=192.168.1.0/24 \
--ip-range=192.168.1.0/25 \
--gateway=192.168.1.127 \
mynetwork
sudo docker run -it --net mynetwork --ip 192.168.1.128 --name testbash ubuntu bash
sudo docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' testbash
apt-get update \
apt-get install net-tools curl traceroute
ifconfig
traceroute www.google.com
sudo docker run -it --net mynetwork --name doublebash ubuntu bash
apt-get update \
apt-get install net-tools curl traceroute
ifconfig
traceroute www.google.com