Skip to content

Install Docker

Rolando Islas edited this page May 2, 2017 · 3 revisions

Before Installing

  • This guide will assume Docker is already installed.
  • The install script is a better alternative for supported operating systems.
  • A Linux host is still required. Windows and OS X docker hosts will not work.

Installing the Image

The Docker hub option:

docker pull drcsim/drcsim

Alternatively, an image can be created directly from the repo.

docker build --tag=drcsim /path/to/repo

Running Docker

Create a volume for persistent storage.

docker volume create --name drc

The Docker image has the same syntax as running from the CLI normally.

docker run -p=50000-50002 --net=host --privileged -v=drc:/root/.drc-sim drcsim/drcsim <command>

Interfaces can be listed with ifconfig:

docker run --net=host --privileged --entrypoint /sbin/ifconfig drcsim/drcsim -a

Clone this wiki locally