Coder Social home page Coder Social logo

net-tools's Introduction

net-tools

Alpine image with network tools for testing network issues

Check port connectivity

git clone https://github.com/mesoform/net-tools.git
docker stack deploy -c examples/port-connect-compose.yml net_tools
Creating network net_test_net_tools_test
Creating service net_test_server
Creating service net_test_client

Watch for successful completions of client

watch docker stack ps net_tools

Check logs

docker service logs net_tools_client
net_test_client.1.soc99zrkbtlu@lab2    | Host server not found: 3(NXDOMAIN)
net_test_client.1.soc99zrkbtlu@lab2    | server has address 10.0.3.4
net_test_client.1.soc99zrkbtlu@lab2    | Connection to server 80 port [tcp/http] succeeded!
docker service logs net_tools_server
net_test_server.1.4i9q9vvw8p5i@lab1    | Listening on [0.0.0.0] (family 2, port 80)
net_test_server.1.yvxdyl6g4825@lab1    | Listening on [0.0.0.0] (family 2, port 80)
net_test_server.1.yvxdyl6g4825@lab1    | Connection from 10.0.3.7 56464 received!

Remove stack

docker --context lab2https stack rm net_tools
Removing service net_tools_client
Removing service net_tools_server
Removing network net_tools_test_network
Removing network net_tools_net_tools_test

net-tools's People

Contributors

gbmeuk avatar

Stargazers

 avatar

Watchers

 avatar

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.