docker-desktop

Where are the Docker Desktop for Windows kubelet logs located?

喜你入骨 提交于 2021-01-19 08:54:04
问题 I can't find where the kubelet logs are located for Docker Desktop (Windows). There's a similar question here, but the answers all refer to linux/kind installs of kubernetes. 回答1: To get kubelet logs you need to get access to the virtual machine that docker daemon runs in. Since there is no ssh available there is workaround for this: Here`s how to login into VM: docker run --privileged -it -v /:/host -v /var/run/docker.sock:/var/run/docker.sock jongallant/ubuntu-docker-client and then use

Where are the Docker Desktop for Windows kubelet logs located?

本小妞迷上赌 提交于 2021-01-19 08:49:07
问题 I can't find where the kubelet logs are located for Docker Desktop (Windows). There's a similar question here, but the answers all refer to linux/kind installs of kubernetes. 回答1: To get kubelet logs you need to get access to the virtual machine that docker daemon runs in. Since there is no ssh available there is workaround for this: Here`s how to login into VM: docker run --privileged -it -v /:/host -v /var/run/docker.sock:/var/run/docker.sock jongallant/ubuntu-docker-client and then use

How to access /var/lib/docker in windows 10 docker desktop?

陌路散爱 提交于 2020-08-27 07:12:47
问题 Installed docker desktop for windows 10 Used powershell to run docker containers ( ubuntu ) Now, I want to browse to /var/lib/docker --> want to browse to overlay2 to check layers.. /diff folder etc. If i access /var/lib/docker folder - powershell complains that this folder does not exist. Other piece of info: I have already checked out the disk image location which is mapped for docker desktop. It is a vhdx file. I was not able to open it with Oracle virtual box - it says it is not a

How to access /var/lib/docker in windows 10 docker desktop?

倖福魔咒の 提交于 2020-08-27 07:12:04
问题 Installed docker desktop for windows 10 Used powershell to run docker containers ( ubuntu ) Now, I want to browse to /var/lib/docker --> want to browse to overlay2 to check layers.. /diff folder etc. If i access /var/lib/docker folder - powershell complains that this folder does not exist. Other piece of info: I have already checked out the disk image location which is mapped for docker desktop. It is a vhdx file. I was not able to open it with Oracle virtual box - it says it is not a

Setup git via windows docker file

时间秒杀一切 提交于 2020-07-16 04:42:30
问题 I write Dockerfile which is based on windowsnanoserver. I need to add to this image git. In order to achieve it I did the following: RUN Invoke-WebRequest 'https://github.com/git-for-windows/git/releases/download/v2.12.2.windows.2/Git-2.12.2.2-64-bit.exe' RUN Invoke-Expression "c:\Git-2.12.2.2-64-bit.exe" But when I execute this lines via docker build, I receive following error message: Invoke-Expression : The term 'c:\Git-2.12.2.2-64-bit.exe' is not recognized as the name of a cmdlet,

Docker Compose failed to build - Filesharing has been cancelled

南笙酒味 提交于 2020-07-04 20:20:29
问题 I've ran into an issue with Docker Desktop, currently im running the edge version as a user on Stackoverflow. Before I got the drive not shared for unknown reason error which was "solved" by installing edge version: Docker for Windows: Drive sharing failed for an unknown reason Now that this was installed im getting this new error which prevents some containers from being built. These containers have all been tested and works on several other systems. Currently 3 out of 4 containers are not

Dockerize ASP Classic on IIS

六月ゝ 毕业季﹏ 提交于 2020-07-04 05:45:28
问题 Microsoft has been investing in running docker on windows with Docker Desktop for Windows . Is it possible to run a legacy ASP Classic application on IIS through Docker? How? https://hub.docker.com/r/microsoft/iis/ 回答1: I finally got this all working. It was a lot more complex than running a simple Dockerfile, as it was a site that was originally developed in 2002. There were modules that had to be downloaded and installed, web.config sections that needed to be unlocked, and ODBC data

Docker log (driver json-file) location for Docker for windows

爷,独闯天下 提交于 2020-05-30 08:05:19
问题 I want to locate a container's log location. I use Docker Desktop for Windows I know that on linux they are at /var/lib/docker/containers/ But where is it. Is it hidden away somewhere in an inaccessible VM? 回答1: On windows you can find the containers logs inside: C:\ProgramData\docker\containers\[Your_container_ID]\[Your_container_ID]-json.log 回答2: For windows , the container storage is the Hyper V's virtual Hard disk.You would have to connect to that hard disk to get the container logs. See