Sign inSign up

lic0914/utils

By lic0914

•Updated almost 3 years ago

It's a web application by using golang for testing docker containers

Image
1

794

lic0914/utils repository overview

⁠Description

It's a web application by using golang for testing docker containers. Building use alpine image and supporting the command curl 、wget、ping、nslookup 、digetc

Repository : docker-utils⁠

⁠Feature

⁠Route

<BASE_URL>/

Print the fundamental information

<BASE_URL>/http

Sending a request in container by the query string url example: curl http://<BASE_URL>/http?url=http://domain.com⁠

<BASE_URL>/baidu

Sending a baidu request

<BASE_URL>/header

Printing the headers info in http client

<BASE_URL>/nslookup

Resolving a host using query string 'host'

<BASE_URL>/delay?s=10

Request success after delay 10s

<BASE_URL>/curl-testing?url=https://baidu.com[&method=GET]

Using curl -w "@format.txt" to testing network

⁠ENV

Supporting by tag >=2.0

VERSION=v1.0

Current version

BASE_URL=''

Must start with '/'

PORT=80

Listening port

Tag summary

Content type

Image

Digest

sha256:3d8a12817…

Size

12.4 MB

Last updated

almost 3 years ago

docker pull lic0914/utils