Coder Social home page Coder Social logo

zhangguanzhang / dummy-tool Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 1.0 23 KB

Linux dummy 接口工具,支持 x86_64/arm64/loong64/mips64le

License: Apache License 2.0

Dockerfile 9.75% Go 63.60% Shell 26.65%
dummy loopback linux arm64 amd64 mips64 loong64

dummy-tool's Introduction

  • 🔭 I’m currently working on WuHan, China
  • 🌱 I’m currently learning golang,jenkins
  • 💬 Ask me about :Centos,ansible,shell,regex,sed,awk,grep,go,docker,kubernetes
  • 📫 How to reach me: [email protected] or at my blog

Anurag's github stats

dummy-tool's People

Contributors

zhangguanzhang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yemo-memeda

dummy-tool's Issues

mips64le Received signal: window changed, tearing down

FROM mips64le/debian:stable-slim

LABEL MAINTAINER="zhangguanzhang [email protected]" \
    URL="https://github.com/zhangguanzhang/dummy-tool"

COPY dummy-tool /dummy-tool

RUN if [ ! -e /etc/nsswitch.conf ];then echo 'hosts: files dns myhostname' > /etc/nsswitch.conf; fi && \
    if [  -e /etc/apt/sources.list ];then sed -ri 's/(deb|security).debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list; fi && \
    chmod a+x /dummy-tool && \
    apt-get update  && \
    apt-get install -y curl iproute2  && \
    rm -rf /var/cache/apt/* 

ENTRYPOINT ["/dummy-tool"]
$ docker run --rm  -ti --privileged --net host dummy-tool:v0.1 -local-ip=169.254.20.10 -interface-name=svc -health-port 8070
Name: dummy-tool
Version: v0.1-dirty
CommitID: e051814b2c1ec020b6bd9b8864d228bfb42424e1
GitTreeState: clean
BuildDate: 2021-09-25T06:41:22Z
GoVersion: go1.16.7
Compiler: gc
Platform: linux/mips64le
2021/09/25 08:11:37 [INFO] Added interface - wps-svc
2021/09/25 08:11:37 [INFO] Start http health at :8070
2021/09/25 08:11:37 [INFO] Received signal: window changed, tearing down
2021/09/25 08:11:37 [INFO] Tearing down
2021/09/25 08:11:37 [WARNING] Exiting check interface

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.