Sign inSign up

huzhihui/whoami

By huzhihui

•Updated over 4 years ago

Image
0

87

huzhihui/whoami repository overview

⁠简介

该镜像主要提供了检查启动的容器或者网卡是否正常,可以进入容器进行各种操作,检测运行环境是否正常

⁠访问路径
  • http://127.0.0.1:80/

查看容器基本信息

Hostname: d304964d465a
IP: 127.0.0.1/8
IP: 172.18.0.13/16
RemoteAddr: 192.168.137.2:65437
Headers:
Accept-Encoding : [gzip, deflate]
Pragma : [no-cache]
Upgrade-Insecure-Requests : [1]
Accept : [text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8]
Connection : [keep-alive]
Cache-Control : [no-cache]
User-Agent : [Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.25 Safari/537.36 Core/1.70.3880.400 QQBrowser/10.8.4554.400]
Accept-Language : [zh-CN,zh;q=0.9]
  • http://127.0.0.1:80/health

检测服务是否正常运行

service is health
⁠基础docker-compose.yml
version: "3"
services:
  whoami:
    image: whoami:1.0.0
    container_name: whoami
    networks:
      - default
    ports:
      - "4001:80"
networks:
  default:
    external:
      name: huzhihui

Tag summary

Content type

Image

Digest

Size

29.7 MB

Last updated

over 4 years ago

docker pull huzhihui/whoami:1.0.0