Skip to content

There is a detached mode like Docker ? #449

Answered by fkorotkov
valmnt asked this question in Q&A
Discussion options

You must be logged in to vote

There is no detach mode. We'll try to have something similar for Desktop Application (#305). At the moment the CLI usage is designed to be daemon-less so consumers are responsible for cleaning VMs. You can workaround it with nohup though:

nohup tart run --no-graphics <VM-name> &

The only cons is that if your VM fails to start you won't know it. But you can also workaround it by checking JSON output of tart get and looking at Running field:

$: tart get --format=json base
{
  "Memory" : 8192,
  "CPU" : 4,
  "Display" : "1024x768",
  "Disk" : 19,
  "Running" : true
}

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by valmnt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants