In so far as insulin promotes de novo lipogenesis and suppresses lipolysis in adipocytes it DOES help keep the fat inside. But in Hyperinsulinemia / Insulin Resistance with Impaired Glucose Tolerance lipolysis may not be sufficiently reduced and fatty acids and glycerin can be spilled at the same time that Triglycerides are being formed & stored. In the liver the glycerin gets converted to glucose producing hyperglycemia.
This is a new area, but the research that has come out since this article is also positive, and promising. One example: In this June 2018 study of 23 people with obesity, 12 weeks of 8-hour time-restricted feeding resulted a 2.6% decrease in body weight and a 7 point decrease in systolic blood pressure, which was significant when compared to controls:

This drug is an injected variant of a satiety hormone called GLP-1. It slows down how quickly the stomach empties and tells the brain that you don’t need to eat yet – not a bad idea for losing weight. As a bonus this drug works fine while one is on the keto diet and it works even better with intermittent fasting – for a rapid weight loss with no hunger.
In addition to improving your health, maintaining a weight loss is likely to improve your life in other ways. For example, a study of participants in the National Weight Control RegistryExternal* found that those who had maintained a significant weight loss reported improvements in not only their physical health, but also their energy levels, physical mobility, general mood, and self-confidence.

The remaining calories in the keto diet come from protein — about 1 gram (g) per kilogram of body weight, so a 140-pound woman would need about 64 g of protein total. As for carbs: “Every body is different, but most people maintain ketosis with between 20 and 50 g of net carbs per day,” says Mattinson. Total carbohydrates minus fiber equals net carbs, she explains.
In terms of weight loss, you may be interested in trying the ketogenic diet because you’ve heard that it can make a big impact right away. And that’s true. “Ketogenic diets will cause you to lose weight within the first week,” says Mattinson. She explains that your body will first use up all of its glycogen stores (the storage form of carbohydrate). With depleted glycogen, you’ll drop water weight. While it can be motivating to see the number on the scale go down (often dramatically), do keep in mind that most of this is water loss initially.
Because some cancer cells are inefficient in processing ketone bodies for energy, the ketogenic diet has also been suggested as a treatment for cancer.[59][60] A 2018 review looked at the evidence from preclinical and clinical studies of ketogenic diets in cancer therapy. The clinical studies in humans are typically very small, with some providing weak evidence for anti-tumour effect, particularly for glioblastoma, but in other cancers and studies, no anti-tumour effect was seen. Taken together, results from preclinical studies, albeit sometimes contradictory, tend to support an anti-tumor effect rather than a pro-tumor effect of the KD for most solid cancers.[61]

The ketogenic diet reduces seizure frequency by more than 50% in half of the patients who try it and by more than 90% in a third of patients.[18] Three-quarters of children who respond do so within two weeks, though experts recommend a trial of at least three months before assuming it has been ineffective.[9] Children with refractory epilepsy are more likely to benefit from the ketogenic diet than from trying another anticonvulsant drug.[1] Some evidence indicates that adolescents and adults may also benefit from the diet.[9]
Around this time, Bernarr Macfadden, an American exponent of physical culture, popularised the use of fasting to restore health. His disciple, the osteopathic physician Dr. Hugh William Conklin of Battle Creek, Michigan, began to treat his epilepsy patients by recommending fasting. Conklin conjectured that epileptic seizures were caused when a toxin, secreted from the Peyer's patches in the intestines, was discharged into the bloodstream. He recommended a fast lasting 18 to 25 days to allow this toxin to dissipate. Conklin probably treated hundreds of epilepsy patients with his "water diet" and boasted of a 90% cure rate in children, falling to 50% in adults. Later analysis of Conklin's case records showed 20% of his patients achieved freedom from seizures and 50% had some improvement.[10]
A particular diet may be chosen to seek weight loss or weight gain. Changing a subject's dietary intake, or "going on a diet", can change the energy balance and increase or decrease the amount of fat stored by the body. Some foods are specifically recommended, or even altered, for conformity to the requirements of a particular diet. These diets are often recommended in conjunction with exercise. Specific weight loss programs can be harmful to health, while others may be beneficial and can thus be coined as healthy diets. The terms "healthy diet" and "diet for weight management" are often related, as the two promote healthy weight management. Having a healthy diet is a way to prevent health problems, and will provide the body with the right balance of vitamins, minerals, and other nutrients.[4]
Fancy coffee drinks from trendy coffee joints often pack several hundred calories, thanks to whole milk, whipped cream, sugar, and sugary syrups. A cup of regular coffee with skim milk has just a small fraction of those calories. And when brewed with good beans, it tastes just as great. You can also try nonfat powdered milk in coffee. You’ll get the nutritional benefits of skim milk, which is high in calcium and low in calories. And, because the water has been removed, powdered milk doesn’t dilute the coffee the way skim milk does. Here are 11 metabolism myths you have to stop believing.
If you think you may have a medical emergency, call your healthcare provider or 911 immediately. Any mention of products or services is not meant as a guarantee, endorsement, or recommendation of the products, services, or companies. Reliance on any information provided is solely at your own risk. Please discuss any options with your healthcare provider.

The Mayo Clinic Diet is generally safe for most adults. It does encourage unlimited amounts of vegetables and fruits. For most people, eating lots of fruits and vegetables is a good thing — these foods provide your body with important nutrients and fiber. However, if you aren't used to having fiber in your diet, you may experience minor, temporary changes in digestion, such as intestinal gas, as your body adjusts to this new way of eating.