-
Hi, I don't think Tart has a detached mode like docker does with the parameter "-d". So i was wondering if you have any plans for this feature ? Thx for reading, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
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 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 --format=json base
{
"Memory" : 8192,
"CPU" : 4,
"Display" : "1024x768",
"Disk" : 19,
"Running" : true
} |
Beta Was this translation helpful? Give feedback.
-
IMHO this is a bit clunky. I'd prefer not having to open up another terminal instance to SSH into the machine. Also, by now people are probably used to the way Docker is handling this. |
Beta Was this translation helpful? Give feedback.
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 atRunning
field: