Can I use Windows 10 Insider preview to build a docker image - windows

I have a Eclipse App that only installs on Windows, while I have a Mac. I have downloaded the Windows 10 ISO from the insider preview program. Can I use it in docker to build a docker image? What can be the base image? The alternative is to use the VirtualBox, and install windows 10 in it. But I don't want to go for it, because I want to share the image with other colleagues who are on Windows.

If you want to run a Windows Container on a Mac you will need to intall Windows 10 Anniversay Update ISO as a VM via Virtualbox or install the operating sysem using Bootcamp.
Windows 10 Anniversay Edition now has native support for Containers so you can run docker images for Windows Server 2016 and/or Nanoserver.
Your colleagues will also need Windows 10 Anniversary Edition to run the image on their machines.

You will need a Windows virtual machine to run Windows 10 on your MAC. See also the answer in this Stackoverflow question for a discussion of docker container types and docker hosts types.
Background:
Linux-based docker containers only run on Linux docker hosts while Windows-based docker containers only run either on Windows 2016 or on Windows Nanoserver, where a Nanoserver can run on Windows 2016 or on Windows 10 Professional + Hyper-V.
If you want to run either Linux-based or Windows-based docker containers on a MAC, you will need a Linux-based or a Windows-based virtual machine, respectively.
Is it possible to exchanging Docker images instead of virtual machine images to reduce the size?
Not in your case, I think.
If you think about reducing the image size you intend to share with your colleagues, you might think about running Windows containers on a Windows virtual machine on your MACs and exchange the smaller docker images instead of sharing virtual machine images. However, this would require nested virtualization of Hyper-V and this is supported on Hyper-V-capable hardware only (see also an Hyper-V on Hyper-V example here). Since you are using a MAC, I fear, you need to share the larger virtual machine image or better find a way to share only parts of it (e.g. share project code via git instead).

Related

Running Windows 10 VM on Devstack Yoga Stable

I have created a Windows Server 2016 image for launching as an instance (or VM) in OpenStack, and it works fine. However, I have followed the same steps for Windows 10 Pro and used its corresponding virtio drivers to create a cloud image, which doesn't work. After importing and launching the VM, it gets stuck in the Windows 10 loading page, and nothing happens. I have installed Devstack Yoga (Stable version) on an Ubuntu 20.04.5 VM, and my hypervisor is KVM. I have a remote access to this VM, and I am not aware of the KVM configurations for this VM. Should I look for some particular parameter of the KVM hypervisor for my OpenStack VM? If yes, which parameters?

How docke run linux container on windows server 2019?

I downloaded desktop meet some error, and I found the docker desktop didn’t support on windows server.
Then I wanted to run a linux image in windows server, but I can’t find how to trans windows mode to linux mode.And more I didn’t find the dockercli.exe.
So now my question is:
dose windows server support linux mode?
If it does, how to change to such mode?
if not, how to run linux container on windows server 2019?
To run docker on windows server 2019, try this
https://computingforgeeks.com/how-to-run-docker-containers-on-windows-server-2019/
You should also install WSL Feature

Not able to log back into my Windows machine after Hyper-v installation

I have a Windows 10 machine. Recently I have installed Hyper-V 2016 server on my machine. From then whenever I start my system I only see a blue screen with various commands. I do not see any other thing other than that. Now how can I go back to my normal Windows machine?
See this image for reference:
you had Windows 10 installed on your machine now you have Microsoft Hyper-V Server 2016.
I assume you downloaded an ISO and installed that one. Whereas within Windows 10 you only have to activated a feature called Hyper-V.
Grap your latest Backups and install Windows 10 back onto your machine.
KR
Guenther

Docker on a Server 2016 Virtual Machine

I've already tried running Docker on a Windows 10 Virtual Machine without any success. I understand why, so I've given up trying to enable this. However, it's got me thinking about Windows Server 2016. As I understand it, Windows Server 2016 has docker included as a component/service, instead of an 'Add On' as it is in Windows 10. Are there any reasons why a Microsoft Server 2016 Virtual Machine would not support docker? This is more for convenience than anything else. Dual-booting with windows 10 isn't a major issue and we've done that, but it does mean in certain circumstances I have to reboot to windows 8 for certain organisation-specific content that I can't access in Windows 10.

Docker For Windows kills my network on Windows 10 Bootcamp

Running Windows 10 Pro in bootcamp on my Mac. When I install Docker for Windows, the system reboots after enabling HyperV and when it comes back, my network adapters are dead. Any solutions for this? I'm not a Windows guy, and not very familiar with how the network drivers work. They all appear to be set up correctly, but the main Windows driver just wont fire up.
For testing, you can use the alternative approach of:
not enabling the Hyper-V feature
add a VirtualBox for Windows on that Windows 10 pro (in Mac bootcamp)
See if you can create containers with the -d virtualbox driver instead of relying on Hyper-V.

Resources