相关疑难解决方法(0)

Docker在Windows10上:没有未知的匹配清单?

C:\Users\mites>docker pull busybox
Using default tag: latest
latest: Pulling from library/busybox
no matching manifest for unknown in the manifest list entries
Run Code Online (Sandbox Code Playgroud)

怎么解决这个?它会在每个拉动命令上出现.

docker

8
推荐指数
1
解决办法
6841
查看次数

docker :manifest for microsoft/windowsservercore:latest not found

我想在我的 Docker 容器中运行 IIS

在此处输入图片说明

但是当我写这个命令时:

docker pull microsoft/windowsservercore
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

使用默认标记:来自守护进程的最新错误响应:microsoft/windowsservercore 清单:未找到最新

windows iis docker docker-for-windows

8
推荐指数
1
解决办法
2万
查看次数

在 Windows 10 容器上启用远程桌面

我正在尝试在容器映像上启用远程桌面。

Dockerfile

FROM mcr.microsoft.com/windows:2004

EXPOSE 3389

RUN net user administrator Stack0verflow
RUN net user administrator /active:yes

# I tried disabling the firewall; but this command errors as Windows Defender Firewall service 
# is not enabled; so presumably if the firewall's not running, it's not a firewall issue.
#RUN netsh advfirewall set allprofiles state off

# switch shell to powershell (note: pwsh not available on the image)
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; $ExecutionPolicy = 'Unrestricted';"]

# enable …
Run Code Online (Sandbox Code Playgroud)

containers remote-desktop terminal-services docker windows-10

6
推荐指数
1
解决办法
2万
查看次数

Docker + Node.js + Windows

我想要的是: dockerize一个Node.js Web应用程序(我在Windows上)

Windows容器

docker-compose up 让我这个错误:

Service 'webapp' failed to build: no matching manifest for windows/amd64 in the manifest list entries
Run Code Online (Sandbox Code Playgroud)

据我了解,这是因为Windows没有Node.js映像,而解决方法是切换到Linux容器。

内存不足

当我尝试切换到linux容器时,Docker告诉我我没有足够的内存。通过设置更改分配的内存量不会解决该问题。

编辑:文件

docker-compose

version: '3'

services:
  webapp:
    build: ./Front
    volumes:
      - ./Front:./dockerized
    ports:
     - 5001:8080
Run Code Online (Sandbox Code Playgroud)

Dockerfile

FROM node:alpine

RUN mkdir -p ../dockerized

WORKDIR ../dockerized

COPY package*.json ../dockerized

RUN npm install

COPY . ../dockerized

EXPOSE 8080
CMD [ "npm", "start" ]
Run Code Online (Sandbox Code Playgroud)

windows node.js docker linux-containers

2
推荐指数
2
解决办法
6171
查看次数