UDP, TCP and HTTP echo Docker Container that echoes your client ip and additional information.
100K+
In the Docker environment it is often useful to have a simple container which provides a UDP, TCP and HTTP interface that you can pull from a client and that provides some helpful information like the client ip the request originates. Furthermore if you are dealing with Docker Swarm or internal/external loadbalancer for your service it is often helpful to test your idea with a simple Container to check if the correct ip address is reaching your backend service.
This image is based on Ubuntu:16.04 because we need Python3 to power our echo script. We have included some additional but useful tools like netcat, telnet, curl, nslookup and netstat. Theses are utilities which are helpful if you need to get more information on why something is not working as expected.
docker run -d -P n0r1sk/echo
This command will start a container based on our image on an dynamic port. If you would like to specify the exposed port you have to use the following command.
docker run -d -p 22222:3333 -p 22222:3333/udp n0r1sk/echo

Please look at our linked GitHub project for further information on this docker container image. More detailed information is available in the Readme.md.
Content type
Image
Digest
Size
108.2 MB
Last updated
over 9 years ago
docker pull n0r1skcom/echo