DockerVM immediately stopping (or not starting at all)

Status
Not open for further replies.

HashManz

Cadet
Joined
Apr 17, 2017
Messages
8
Hi all,

I followed the instructions in the guide at https://doc.freenas.org/11/vms.html and encountered some problems with getting the VMs running at all, but for now just would like to see if I can get the docker VM working.

I am running FreeNAS-11.1-RELEASE via a 16gb USB stick.
i7-960
24GB RAM
Sabertooth X58
10*5TB drives in RAIDZ2

I followed the steps in the guide up to http://doc.freenas.org/11/vms.html#start-the-rancher-vm
Here when I click start the VM went through a whole process the first time I clicked it, but it still ended with a 'STOPPED' status even though FreeNAS shows a green notification saying 'VM started' at the top of the screen. From the second time onwards it just had a quick 'Lets start the magic' box appear, then a 'STOPPED' status and the notification saying 'VM started' again

Any reasons why this might occur?
 
Last edited by a moderator:

Yusuf Limalia

Patron
Joined
Apr 5, 2016
Messages
234
Hi all,

I followed the instructions in the guide at https://doc.freenas.org/11/vms.html and encountered some problems with getting the VMs running at all, but for now just would like to see if I can get the docker VM working.

I am running FreeNAS-11.1-RELEASE via a 16gb USB stick.
i7-960
24GB RAM
Sabertooth X58
10*5TB drives in RAIDZ2

I followed the steps in the guide up to http://doc.freenas.org/11/vms.html#start-the-rancher-vm
Here when I click start the VM went through a whole process the first time I clicked it, but it still ended with a 'STOPPED' status even though FreeNas shows a green notification saying 'VM started' at the top of the screen. From the second time onwards it just had a quick 'Lets start the magic' box appear, then a 'STOPPED' status and the notifaction saying 'VM started' again

Any reasons why this might occur?

Silly question, have you double checked this:
upload_2018-1-8_12-19-12.png


I had the same problem when I wasn't typing the filename.
 

vikozo6

Patron
Joined
Oct 16, 2015
Messages
290
I had the same Problem but ...
Code:
 Then add a filename by typing /rancherui.img at the end of the path in the text box.
 

Osiris

Contributor
Joined
Aug 15, 2013
Messages
148
Did you create a dataset and add it to the VM as a disk?
 

HashManz

Cadet
Joined
Apr 17, 2017
Messages
8
Silly question, have you double checked this:
View attachment 22250

I had the same problem when I wasn't typing the filename.

Yep, did add the filename. Followed everything as it says.

Did you create a dataset and add it to the VM as a disk?

Ah nope, I thought that was only for normal VM's not the docker VM set up. I did try it though, same result, "Lets start the magic", 'STOPPED' status and a green notification that 'VM Started'
 

Osiris

Contributor
Joined
Aug 15, 2013
Messages
148
Had that too, initially.

upload_2018-1-16_14-25-33.png



upload_2018-1-16_14-24-15.png


upload_2018-1-16_14-27-51.png
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
Is that very old i7 up to running bhyve? grep VT-x /var/run/dmesg.boot and look for EPT and UG in the output.
 

HashManz

Cadet
Joined
Apr 17, 2017
Messages
8
Had that too, initially.

How did you fix it? I'll try creating it as you have and see if it changes anything. thanks.

Is that very old i7 up to running bhyve? grep VT-x /var/run/dmesg.boot and look for EPT and UG in the output.

Ran it and here is the result:

Code:
[root@freenas ~]# grep VT-x /var/run/dmesg.boot								
  VT-x: PAT,HLT,MTF,PAUSE,EPT,VPID 


Looks like I have whatever feature EPT signifies, but I am missing UG? What feature does that indicate and is there a workaround?

Thanks for keeping the thread alive!
 
Status
Not open for further replies.
Top