Skip to content

2. Docker

Ciro Luiz Araujo Ceissler edited this page Apr 13, 2018 · 17 revisions

Another way to try HardCloud with minimal impact on your operating system is to download and use our Docker image in a container (but less flexible). After installing Docker, you can download, run and access the container on your machine using:

$ docker pull hardcloud/harp-simulation:2.0
$ docker run -t -i hardcloud/harp-simulation:2.0

To manage a Docker container, the following commands that are useful:

  • docker ps -a: list all containers available.
  • docker start <container_id>: start one stopped container.
  • docker attach <container_id>: attach local standard streams to a running container.
  • docker stop <container_id>: stop one running container.

CentOS 7 is the base of the Linux image and the Dockerfile receipt to create it is available at HardCloud Dockerfile. Also, it contains the package tmux installed to manage multiple terminal sessions from a single one or execute the following Docker command to create another:

$ docker exec -it <container_id> bash

License Configuration

Before beginning use, configure the license following the instructions subsequently. The environment variable LM_LICENSE_FILE is used to acquire the ModelSim-Altera Edition license from the server. Below, a usual example of configuration:

$ export LM_LICENSE_FILE="port@server"

Contact your system administrator to connect to the license server or access Intel FPGA Software Licensing Support.

Clone this wiki locally