GithubHelp home page GithubHelp logo

ajnouri / docker-gns3-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsimonetti/docker-gns3-server

0.0 1.0 0.0 19 KB

Dockerfile for GNS3 server

License: The Unlicense

Shell 50.25% Dockerfile 49.75%

docker-gns3-server's Introduction

jsimonetti/gns3-server

Usage

docker run \
    --rm -d \
    --name gns3 \
    --net=host --privileged \
    -e BRIDGE_ADDRESS="172.21.1.1/24" \
    -v <data path>:/data \
    jsimonetti/gns3-server:latest 

Parameters

The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.

  • -v /data - Path to persistant data
  • -e BRIDGE_ADDRESS="172.21.1.1/24" - Configure the internal NAT network bridge for GNS3

It is based on alpine-linux edge, for shell access whilst the container is running do docker exec -it gns3 /bin/sh.

Info

This container works best when run priviledged and on a network other then dockers' default (host or macvtap for example). If you run on docker's default network you need to expose all ports used by gns3 and consoles yourself.

  • To monitor the logs of the container in realtime docker logs -f gns3.

docker-gns3-server's People

Contributors

dependabot-preview[bot] avatar jsimonetti 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.