Skip to content

D3f0/coreemu_vnc

Repository files navigation

CORE Network Simulator

This image is an inspirated on the work of Stuart Mardsen CORE EMU image and his recommendations on Eriberto packages.

It's based, currently, on Ubuntu 17.10. You can get the udpated build at Docker Hub

This image serves VNC and noVNC (this requires a modern web browser to be used).

Usage

Run the image to use it:

docker run -d --cap-add=NET_ADMIN --cap-add=SYS_ADMIN -p 5900:5900 -p 8080:8080 d3f0/coreemu_vnc

It must be run with SYS_ADMIN or it cannot create namespaces within the container which is needed for Core. It requires NET_ADMIN to make the internal networks. You can then use a VNC client and connect on localhost:5900.

Note some of the functionality in CORE requires ebtables this must be installed in the host machine as well.

apt install ebtables # Ubuntu/Debian

Sharing files

There's a volume declared as /root/shared, you can exchange files though that folder.

docker run -d --cap-add=NET_ADMIN --cap-add=SYS_ADMIN -v $(pwd)/shared:/root/shared -p 5900:5900 -p 8080:8080 d3f0/coreemu_vnc

Run with docker-compose

The above can be converted to a docker-compose.yml file to use with Docker Compose:

version: '3'
services:
  coreemu:
    image: d3f0/coreemu_vnc
    container_name: coreemu
    ports:
      - "8080:8080"
      - "5900:5900"
    cap_add:
      - NET_ADMIN
      - SYS_ADMIN
    volumes:
      - $PWD/shared:/root/shared

Run docker-compose up -d in the same directory as the docker-compose.yml file to start the container.

Password

The default password is coreemu.

Running in Kitematic

Search the d3f0/coreemu_vnc image and run it in privileged mode, then point a browser to the port Docker expose the container's 8080 port.

DEMO

DEMO

How to run this in Play With Docker