Weird Docker Desktop Issues – Unable to Create Hyper-V VM

I was setting up my new machine the other day and one of the first things I did was get Docker Desktop. I grabbed this and enabled Hyper-V at the same time. When I rebooted, I had some errors, so I thought perhaps I hadn’t really enabled the Windows Subsystem for Linux and Hyper-V correctly before getting Docker running. That shouldn’t matter, but I decided to uninstall Docker Desktop, reboot, and be sure things were running.

Once I had Hyper-V running and I connected to my local WSL, I reinstalled Docker Desktop, but still saw lots of this:

Unable to create Hyper-V VM

There were other errors, like the Docker.Core.Backend.BackendDestroyException, but the main problem seemed (to me) to be a Hyper-V issue.

Checking the Hyper-V console showed no VMs created. Hmmm, what do I do?

I tried to “Quick create” a VM, but that wizard failed. I didn’t really want to make a VM at this time, so I hesitated here, but I shouldn’t have. After searching around more, I came back and tried to ensure that I could create a VM.

It was at this time that I noticed the default location for my Hyper-V vms was s:\virtual. I don’t have an “S:“ drive, so I was suspicious. Checking the disk location, I saw the same thing.

This might make sense if scripting was using defaults to set up a new VM. I manually set the defaults in Hyper-V to be folders on my C: drive. Then I had Docker go back to default settings, and it worked. No errors on startup, the Docker icon in the status bar, and I could pull and start a container.

Good to know.

Not sure why this was an issue. This was (supposedly) a clean, new install of Windows. Strange, but something worth checking if you have issues.

Posted in Blog | Tagged , , | 6 Comments

Remote Data Challenges

With many of us working remotely now, security is going to be a concern for many organizations. While some might have company provided hardware, many of us will use our personal equipment to connect to data and systems. This brings even more challenges to ensuring security than we’ve had in the past. This might be especially true for organizations that have (or are) scrambling to get everyone connected and ensure access.

There are a number of areas in which this might affect us as data professionals. First, we should ensure our devices are patched. Windows, OSX, Android, iOS, whatever platform you run, you ought to be properly patched. This might be especially disconcerting for some home users that run older versions of host platforms. This might be especially true for networking stacks, which have grown more secure over time. It is important for most of us, especially when using privileged accounts, to have fully patched devices.

There’s also the issue of viruses, ransomware, and more transiting from home systems to work platforms. I know some companies are doing lots of work through remote access, but that’s not practical for many of us. I do think the idea of separating out traffic to production systems is a good one, and requiring some sort of remote terminal to a jump box might be preferred. Having some sort of PAW is a good idea as well, though not always easy to set up, especially right now.

There are still the actual access rights and least privilege principles we want to maintain. Even as people struggle to get work done remotely, opening up all resources to users that want them can be a poor choice in many companies. We want to maintain adherence to good practices while working in an unfamiliar environment.

There is also the idea of good data protection. This piece talks about DR and data protection, something that many of us data professionals think about regularly. I don’t know if organizations want to add home machines as remote backup targets, but we should certainly ensure that documents, code, and other information is protected. Workstations and laptops are going to fail, as we want to minimize data loss. Having version control for developers and default save locations that are remote are good practices for remote work. I know I keep most of my data in remote git repos, Dropbox or OneNote drives, or some other shared location that will persist if my hardware has issues.

While many of us try to keep moving forward at work, and our management certainly wants us to do so, we should keep in mind the security and data protection are still important parts of our jobs.

Steve Jones

Listen to the podcast at Libsyn, Stitcher or iTunes.

Posted in Editorial | Tagged | Comments Off on Remote Data Challenges

Daily Coping 6 May 2020

I’ve started to add a daily coping tip to the SQLServerCentral newsletter, which is helping me deal with the issues in the world. I’m adding my responses for each day here.

Today’s tip is take a step towards one of your life goals, however small.

Tough. Most of my goals are charity or travel. I did start on my chair, but that’s separate. Or maybe not. Coping is coping, so I’ll combine things.

I somewhat just started laying out the chair pieces, but no real cuts. I did realize that I wasn’t quite ready, so I need to actually prep a bit. I have some cushions I’m hoping to use, so I’m going to start by working through some design. Here’s the sketch for what I want to do.

20200506_102559

Not a great picture, but this let’s me start to get cuts done. This is based on a plan that I found online, but I wanted to adjust the measurements slightly. I’ll mark up their plan with my slightly wider measurements to accommodate a chair pad I own.

Posted in Blog | Tagged , , | Comments Off on Daily Coping 6 May 2020

Daily Coping 5 May 2020

I’ve started to add a daily coping tip to the SQLServerCentral newsletter, which is helping me deal with the issues in the world. I’m adding my responses for each day here.

Today’s tip is to make a bucket list of things to do before you die.

Before The Bucket List, I heard Ted Leonsis talk about his 101 things to do before he died on the radio. I used to have my own list, but I think it’s lost on a server somewhere in the basement. One day I’ll see if I can get it back. In the meantime, I’m making a new list with my wife, because we have chosen to spend our lives together and our goals are shared.

Today, I’m listing a few items on the bucket list. This isn’t complete, nor is it ordered.

  • Visit Tokyo
  • See Mt. Fuji in person
  • Ski in Japan
  • Ski in New Zealand
  • Visit China and see the Great Wall
  • Hike Mt. Kilmanjaro
  • Visit South Africa
  • Own an electric car
  • Build a chair by hand
  • Drive through the Florida Keys
  • Work for a charity full time (kinda did this)
  • Hike Machu Picchu

I have more, but this is a good list to start with.

Posted in Blog | Tagged , , | 3 Comments