Giter VIP home page Giter VIP logo

eve-docker's Introduction

Eve-docker

Add docker to community version of eve community version 2.0.3-86. uninstall docker-enginer, docker.io. Install Docker-CE as per https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository.

Create /etc/systemd/system/docker.service.d/override.conf with the contents below: [Service] ExecStart= ExecStart=/usr/bin/dockerd -H unix://var/run/docker.sock -H tcp://127.0.0.1:4243

This should enable docker within eve and enable console access to load images to use.

Applications in containers can be downloaded from the Hub and then be used in eve itself.

These are the changed files to make docker function. IP Addresses of the interfaces are set by using nsenter on the container. If you do not assign an IP address then when you start a container the container will never enter run mode. The icon on the container will stay as a clock face. The only way to recover from this is to wipe the node, configure the IP address and then start.

The container IP address must be part of the startup configuration. Check the eve-ng pro cookbook on the correct format. If you have not got a play triangle against the image in the eve lab it means that you have not set the IP address correctly as it uses nsenter to set the ip address and the success of this removes the lock file enabling the play symbol. If you start a device without the correct settings you need to wipe the device before trying again.

The docker options box on the template should typically be used to set environmental variables rather than the ip address. I found a number of containerise network functions that required environmental variables to be presented. so use '-e ENVIRONMENTAL_VARIABLE' and it gets passed into the create command.

Copy files to the appropriate directory in /opt/unetlab should be releatively self explanatory.

eve-docker's People

Contributors

zakhai 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.