Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,19 @@ Just copy `quartus_sh` to a directory in your `PATH`.
Environment variables:
- `JTAG_SERVER`: allows setting a server for remote programming
- `JTAG_PASSWD`: allows setting a server password for remote programming


# Running Quartus GUI from docker
To run the quartus as GUI, you can use the shell script

```
$ launch.sh
```

This binds your home folder and user profiles to the container.

To open GUI enter

```
# /opt/intelFPGA_lite/20.1/quartus/bin/quartus
```
22 changes: 22 additions & 0 deletions launch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
xhost +local:$USER

docker run -it \
--env="DISPLAY" \
--env="QT_X11_NO_MITSHM=1" \
--volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" \
--workdir="/home/$USER" \
--volume="/home/$USER:/home/$USER" \
--volume="/etc/group:/etc/group:ro" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/etc/sudoers.d:/etc/sudoers.d:ro" \
--volume="$HOME/host_docker:/home/user/host_docker" \
--network=host \
-e LOCAL_USER_ID=`id -u $USER` \
-e LOCAL_GROUP_ID=`id -g $USER` \
-e LOCAL_GROUP_NAME=`id -gn $USER` \
chriz2600/quartus-lite:latest


xhost -local:$USER