Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I knew that docker won't work on windows 10 home edition. It will work in windows 10 pro or enterprise as it need hyper v and it is available in these two. But I found some script for hyper v and able to install and enable hyper v in window 10 home. So is it better to install ubuntu as a virtual environment and install docker over there. or the windows 10 home with hyper v enabled will be good enough to install docker.
Please help me to understand this.
Thanks.
Docker does work on Windows 10 home (I'm using it now).
Install Docker Desktop (wsl2 integration will be disabled)
Install wsl 2.0
Restart.
Install your distro of choice through the Microsoft Store (I used Ubuntu).
Initialise Ubuntu and configure your user account.
If you run Docker in Ubuntu at this point you'll see a request to integrate with wsl2, open the Docker Desktop settings and enable integration with WSL2 for your linux distribution.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am trying to build an docker image based on Ubuntu 16.04. Is it possible to install and use spyder3 on this image?
What I have done so far...
Added a normal user on Ubuntu 16.04(base image)
Installed python3.6.4
Installed spyder3
and I get this error:
genie#667b3f2734a1:~$ spyder3
Spyder: cannot connect to X server :0.0
Any assistance would be much appreciated :)
(Spyder maintainer here) Spyder is a desktop application, so it needs an X server running on Linux for it to work. So you need to add python3-pyqt5 to your docker image, which should bring Xorg and all its dependencies with it. Then you need to start the server with startx.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Docker allows the host Linux distribution to be different from the guest Linux distribution.
Are there limits to this compatibility? Could you run a recent Ubuntu guest in a host whose kernel is much older?
Docker allows the host Linux distribution to be different from the guest Linux distribution.
To make things clear, there is no guest Linux distribution when running a Docker container. The Docker container is not a Linux OS.
Docker images such as ubuntu, centos, ... are not operating systems. They are just images that "mimic" an OS distribution from the point that they have a very similar filesystem structure and tools available
that you typically find on an OS distro like Ubuntu or Centos. Those images do not have their own kernel packaged inside.
If you are wondering whether you can run the Docker image ubuntu:16.04 on a machine with ubuntu:14.04 the answer is yes. In addition, there shouldn't be any compatibility problems in general with other images.
Now since the kernel is not part of the image, it is possible to create a Docker image that would work on one kernel version and fail on another. For instance, you can request a system call that might not exist
in an older kernel version.
However, this problem is not caused by docker, but rather is a compatibility issue with the software running inside the container.
Finally, if you are running Docker on a machine you will at minimum have a kernel version of 3.10 which is not very old. So it is unlikely to encounter any such limitations.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How does one install docker for Windows Server 2008?
I only see support for Windows Server 2016:
https://www.docker.com/docker-windows-server
Docker for Windows https://www.docker.com/docker-windows only works on Windows 10 Pro/2016.
For all other windows versions you must use Docker Toolbox
https://docs.docker.com/toolbox/toolbox_install_windows/. A subtle but important difference.
Docker Toolbox comes with the ominous warning:
Legacy desktop solution. Docker Toolbox is for older Mac and Windows systems that do not meet the requirements of Docker for Mac
and Docker for Windows. We recommend updating to the newer
applications, if possible.
So I guess this is not getting maintained anymore and may disappear.
You can install it with "Docker Toolbox for Windows" from here: Official Source
I had problem in installation but finally installed properly with these catches:
Hyper V must be enabled (wasn't possible when I was trying in windows server hosted in another VM, had to switch)
It was telling that virtualbox has error so it cannot continue :/ Solved it by uninstalling docker, virtualbox both, then removed all vbox* .dll files from c:\windows\system32\drivers folder. Afterwards when re-installed again, it worked.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a two part question:
first is that can anyone please tell me the command lines to execute in docker to start building a container and vm?
second is i have already built a VM using docker but the problem is whenever the building of VM reaches the stage where it written WAITING FOR VM TO BOOT it's stuck there and the error of HYPERVISOR IS NOT RUNNING comes even when the HYPER-V MACHINE MANAGEMENT is on automatic and running.
So please, help me get rid of this problem.
To create a VM which will run docker, use docker-machine: copy docker-machine-Windows-x86_64.exe as docker-machine.exe anywhere you want.
docker-machine create -d virtualbox
docker-machine start
But Make sure you have removed the Windows feature HyperV, as it is not compatible with VirtualBox/VMWare.
Or use the Hyper-V driver. You have to chose one or the other.
See "Getting Docker running on Windows 10"
as it turns out, HyperV and VirtualBox will not run together side-by-side in 64 bit modes. And Scott's blog post about rebooting to a hypervisorlaunchtype off mode of Windows 8.1 worked flawlessly for Windows 10.
So I didn't have to un-install the HyperV feature, but as it turns out, I did have to disable HyperV
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 months ago.
Improve this question
Can I ask some help how can install this in windows 10 oh-my-zsh
Are there any prerequisite on this?
Another way to use oh-my-zsh is to use linux based OS on WSL2.
If you download Ubuntu or Linux based Operating system in windows 10/11 WSL2. Then you can use any terminal app that can be run on Linux. So this is also an way to install zsh with oh-my-zsh.
If you want something similar as oh-my-zsh for Powershell you can try oh-my-posh.
Windows does not have bash or zsh but I will still try to answer your question. This is nearly impossible to do something like installing oh-my-zsh without terminal utility. But I found Babun which is mostly similar to that. It has a pre-configured cygwin and integrated oh-my-zsh. So you may get your hands dirty with that.