a) For this task I have use GoLang and the folder "mini server" is in the main branch of the project.
b) docker build -t miniserver.v1
d) docker build -t miniserver.v1
e) docker run -p 20221:3000 miniserver.v1
Task 03)
d) docker run --name miniwhoami_1 -p 20231:3000 miniwhoami.v1
docker run --name miniwhoami_2 -p 20232:3000 miniwhoami.v1
Task 04)
a) docker exec -i --tty <CONTAINER ID> bash
b)To connect to the container with netshoot, the following command can be used:
docker run -ti --net container:miniwhoami_1 nicolaka/netshoot
c) Yes, the containers can communicate with each other. Both with pingand with ping6.
d) Both containers are connected via bridgeDocker's network. This can be observed by running docker network inspect bridge. Both containers are displayed under the rubric Containers.
f) route -n Output of netshoot within miniwhoami_1
Destination Gateway Genmask Flags Metric Ref Use Iface