Update 'README.md'

This commit is contained in:
Afonso Franco 2022-09-28 20:10:49 +01:00
parent 9c4a0fda32
commit 3b22c7038f

View file

@ -6,33 +6,28 @@ Copyright (c)2005-2022 the Boeing Company.
See the LICENSE file included in this distribution. See the LICENSE file included in this distribution.
## About #DOCKER SETUP
The Common Open Research Emulator (CORE) is a tool for emulating
networks on one or more machines. You can connect these emulated
networks to live networks. CORE consists of a GUI for drawing
topologies of lightweight virtual machines, and Python modules for
scripting network emulation.
## Quick Start
The following should get you up and running on Ubuntu 18+ and CentOS 7+
from a clean install, it will prompt you for sudo password. This would
install CORE into a python3 virtual environment and install
[OSPF MDR](https://github.com/USNavalResearchLaboratory/ospf-mdr) from source.
For more detailed installation see [here](https://coreemu.github.io/core/install.html).
```shell ```shell
git clone https://github.com/coreemu/core.git git clone https://gitea.olympuslab.net/afonso/core-extra.git
cd core
# install dependencies to run installation task cd core-extra
./setup.sh
# run the following or open a new terminal # build image
source ~/.bashrc sudo docker build -t core .
# Ubuntu
inv install # start container
# CentOS sudo docker run -itd --name core -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw --privileged --restart unless-stopped core
inv install -p /usr
# enable xhost access to the root user
xhost +local:root
# launch core-gui
sudo docker exec -it core core-gui
#TO RUN ANY OTHER COMMAND
sudo docker exec -it core COMAND_GOES_HERE
``` ```
## Documentation & Support ## Documentation & Support