Sign inSign up

gclove/k8sbot-test

By gclove

•Updated about 4 years ago

a best tiny lightweight docker image for learn docker / k8s cluster, It only has 4MB

Image
0

1.4K

gclove/k8sbot-test repository overview

⁠一个最轻量级的 docker image, 用来测试 docker 和 kubernetes . 它只有 4MB

它对外暴露了 80 端口,你能通过 http 协议获得一些信息.


⁠A tiny lightweight docker image for testing docker and kubernetes . It only has 4MB

It exposes port 80 externally, and you can get some information through the http protocol.


⁠就像这样 ... like this ...

$ docker run --rm -p 8080:80 gclove/k8sbot-test

# or

$ docker run --rm -p 8080:80 gclove/k8sbot-test:latest

http://localhost:8080/⁠


( ´・◡・`) Hi~~ ! I'm  5f188d8be159
2019-10-14 08:52:22, Millisecond  1571043142389

When I started, it was 2019-10-14 08:52:22, Millisecond  1571043129325
0  hours,  0  minutes passed. about  13064  millisecond passed

url is  /
PID is  1
PPID is  0

HOSTNAME is  5f188d8be159


==== Output all network interface IP addresses ====
[127.0.0.1 8]
[172.17.0.3 16]


==== Output all environment variables ====
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 

HOSTNAME=5f188d8be159 

HOME=/ 

Tag summary

Content type

Image

Digest

sha256:b894b73e8…

Size

3.5 MB

Last updated

about 4 years ago

docker pull gclove/k8sbot-test