VMware Horizon Community
vvauchey
Contributor
Contributor

Vmware horizon crash with docker (linux)

Hello,

Under vmware horizon, I have an image with ubunt22.04, for some specific application I need to use some docker with other ubuntu version (inside the linux vmware horizon image).

Every time I try to run a docker the connection to the image disapear (I need to reset deskstop).

For exemple, the simple line evolve the issue :

step 1 : start the vmware horizon ubuntu 2022

step 2 : sudo apt update # ok

step 3 :docker run hello--world #ok

step 4 : docker run ubuntu #ok

step 5 : docker run -d ubuntu #ok

step 6 : docker run -it ubuntu bash #connection from the client fail, needed to restard the vm

I don't understand why I can have this kind of issue doing docker under windows (because the kernel is virtualized), but under linux it is the same kernel used in and out of the docker.

Best Regards and thank you 

Tags (2)
Reply
0 Kudos
2 Replies
yanchaozhang
VMware Employee
VMware Employee

Hi vvauchey,

 

for step 6, when the issue happens, can you login from vSphere console ?

does the issue also happened if you use docker from vSphere console directly without linux agent installed ?

Reply
0 Kudos
kenieevan
Contributor
Contributor

 

Hi vvauchey,

>>I don't understand why I can have this kind of issue doing docker under windows (because the kernel is virtualized), but under linux it is the same kernel used in and out of the docker.>>

from the above words, so you are using windows host +  some hypervisor +  Linux vm + docker and meet the issue?

I just tried on vsphere + linux vm + docker and it works.

Reply
0 Kudos