Ask Your Question
0

Is it possible to run docker containers and Virtual Machines on the same server?

asked 2016-04-25 19:55:07 -0600

whollandsworth gravatar image

Is it possible to run docker containers and Virtual Machines on the same compute node/cluster?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2016-04-26 04:03:43 -0600

hkominos gravatar image

Dbaxs is right. From my personal experience to spawn them on the same host is a big pain at MINIMUM. To spawn them on the same cluster is not a problem. Just separate the hosts with availability zones and you are good to go.

edit flag offensive delete link more

Comments

Thanks for the response :)

whollandsworth gravatar imagewhollandsworth ( 2016-04-26 08:22:50 -0600 )edit
1

answered 2016-04-26 00:28:09 -0600

dbaxps gravatar image

updated 2016-04-26 01:03:51 -0600

If you mean run light VMs via Nova-Docker driver and VMs via Libvirt Driver , then it means 2 Hypervisors on the same compute Node. See Martin Gerhard Loschwitz comment to http://blog.oddbit.com/2015/01/17/run...

setup will impose the danger of oversubscription imho; every hypervisor will appear twice with all its resources in nova-scheduler.

It doesn't work via my personal experience. Explanation is done above.

Regarding second question view https://stackoverflow.com/questions/2...

edit flag offensive delete link more

Comments

Thanks I appreciate it!

whollandsworth gravatar imagewhollandsworth ( 2016-04-26 08:23:19 -0600 )edit
0

answered 2016-04-28 07:06:56 -0600

Map your compute driver to use docker.driver

compute_driver=novadocker.virt.docker.DockerDriver

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-04-25 19:55:07 -0600

Seen: 149 times

Last updated: Apr 28 '16