Ask Your Question

Use virtual machine display in docker

asked 2021-01-13 15:01:36 -0500

coiedulci gravatar image

I'm trying to start GUI apps like rviz using ros2-eloquent docker image.

My setup consists in a simple VirtualBox Ubuntu 18.04 setup.

Is there any need to rebuild from scratch using a Dockerfile ? or just a specific parameter to docker run ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-01-13 16:35:50 -0500

tfoote gravatar image

It's not clear but I'm assuming you're running docker inside of your VirtualBox VM.

With that in mind there's several ways to approach this documented here:

The simplest way is to use rocker.

Whichever approach you choose, you may have performance issues stemming from the multiple layers of virtualization and trying to get 3D accelerated graphics passed through fully. It's certainly not been tested in that configuration.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-01-13 15:01:36 -0500

Seen: 140 times

Last updated: Jan 13 '21