LXD Container Client Error "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver" When Install NVidia - lxd

I have lxd container client with ubuntu os 18.04. When I install nvidia following https://www.murhabazi.com/install-nvidia-driver, and I run "nvidia-smi" there is an error "NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running." What's wrong?

Related

OpenCL runtime library for Ubuntu 14.04

I need to use OpenCL library for NVidia GPU in a machine but I can not install globally (I am not the super user), and so I need runtime library which can be used locally. I found in NVidia webpage
the OpenCL library for Ubuntu 16.04 and 18.04 but not 14.04 and it should be install using command
$ sudo sh cuda_10.2.89_440.33.01_linux.run
SO anyone knows where I can find OpenCL library for Ubuntu 14.04 and how to use it locally.

How to enable vt-x in centos on docker on mac os

I use official centos image in docker hub.
My machine is mac that support vt-x.
But when I run centos on docker on mac, in centos, it doesn't show vmx in /proc/cpuinfo
I wonder that why guest os(centos) says that doesn't support vm even though my host support.
Is there any way that enable vt-x in centos on docker on my machine?

Is docker for windows running linux container in virtualbox?

I installed the latest docker for windows from website.
there is no virtualbox installed. How windows run a linux container in my computer ? Is have a buildin linux kernel in windows?
It uses HyperV in newer releases. VirtualBox was used by docker-machine which is part of docker-toolkit.
Inside of the VM, there is a Linux kernel in a linuxkit based OS that is part of the moby project.
Connecting to the docker socket on Windows is described in this FAQ: https://docs.docker.com/docker-for-windows/faqs/#how-do-i-connect-to-the-remote-docker-engine-api

kubernetes installation in windows 10 failed due to virtual machine set up

Hi I am new to kubernetes. I have read online tutorials to understand kubernetes and its benefits. To get hands on I have done a set up in my windows machine. It worked well half-way and received error while configuring kubernets VM.
I have downloaded Minikube installers and issued following command in windows 10 power shell
.\minikube.exe start --kubernetes-version="v1.6.0"
--vm-driver="virtualbox" --show-libmachine-logs --alsologtostderr
Retrying.
E1104 23:10:01.364507 16152 start.go:122] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm minikube --type headless failed:
VBoxManage.exe: error: The virtual machine 'minikube' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Kube\ .minikube\machines\minikube\minikube\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
I have oracle virtual box already installed in my machine.Not sure whether it causes this issue.
upon reading few other forums, i have deleted .minikube directory and reissued the same commands in windows power shell but it didnt help.
can anyone please guide me to install kubernetes in windows 10 machine.
I have no hyper-v in my machine(Windows home edition).
Looks like my oracle virtual box has network access issues. Hence it could not set up kubernetes vm. I found this issue when i start my "Docker quick start terminal", it shows same error as i posted above. Hence i uninstalled and then installed latest version of oracle virtual box. It resolved the issue. kubernetes cluster has been created in my windows 10 machine.
I uninstalled the virtual box and installed docker toobox for windows from here
https://docs.docker.com/toolbox/toolbox_install_windows/#step-2-install-docker-toolbox
This will install Oracle VM virtual box too.
Open “Docker Quickstart Terminal”
This opens a Unix Bash.
Use this terminal for building docker images and running minikube.

vmware player not able to open with kernel 4.4.14-200.fc22.x86_64 on fedora

I am not able to open vmware player after updating the kernel to 4.4.14-200.fc22.x86_64 on fedora 22
I am able to open vmplayer or vmware workstation with the old kernel
when i open vmplayer i am geting this message
vmware kernel module updater
Before you run vmware, several modules must be compiled and loaded into the running kernel
when i try to install to install it says
unable to start services
if some has already faced this problem and has a fix please post
Try:
sudo vmware-modconfig --console --install-all

Resources