Update 'README.md'
This commit is contained in:
parent
9c4a0fda32
commit
3b22c7038f
1 changed files with 19 additions and 24 deletions
43
README.md
43
README.md
|
@ -6,33 +6,28 @@ Copyright (c)2005-2022 the Boeing Company.
|
|||
|
||||
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
|
||||
git clone https://github.com/coreemu/core.git
|
||||
cd core
|
||||
# install dependencies to run installation task
|
||||
./setup.sh
|
||||
# run the following or open a new terminal
|
||||
source ~/.bashrc
|
||||
# Ubuntu
|
||||
inv install
|
||||
# CentOS
|
||||
inv install -p /usr
|
||||
git clone https://gitea.olympuslab.net/afonso/core-extra.git
|
||||
|
||||
cd core-extra
|
||||
|
||||
# build image
|
||||
sudo docker build -t core .
|
||||
|
||||
# start container
|
||||
sudo docker run -itd --name core -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw --privileged --restart unless-stopped core
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue