Skip to content

Commit 489ff76

Browse files
authored
Add DISPLAY to rosker
Add DISPLAY environment variable to docker run command.
1 parent 1fb3dbc commit 489ff76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/10-prerequisites/25-ros2/10-installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ rosker() {
4646
docker start -ai "$name"
4747
fi
4848
else
49-
docker run -it --name "$name" --network=host --privileged \
49+
docker run -it --name "$name" --network=host --privileged -e DISPLAY \
5050
-v "$HOME/:/root/" \
5151
-v "/dev:/dev/" \
5252
-v "/etc/hosts:/etc/hosts" \

0 commit comments

Comments
 (0)