Ir ao conteúdo
  • Cadastre-se

Outro Docker erro build image node


Posts recomendados

Estou iniciando a estudar Docker , estou tendo erro no build no (RUN npm install)

windows 10 Pro,

Docker version 20.10.5

docker Engine: { "registry-mirrors": [], "insecure-registries": [], "debug": false, "experimental": true, "graph": "D:\\Docker\images" }

já tentei sem o graph e experimental = false

Dockerfile:

FROM node

WORKDIR /app

COPY package*.json .

RUN npm install

COPY . .

EXPOSE 3000

CMD ["node", "app.js"]

erro: container 45f845a184803cfac98f1beac09fa01008166b02ea8e642780c52528b6164687 encountered an error during hcsshim::System::CreateProcess: failure in a Windows system call: Erro não especificado (0x80004005) [Event Detail: failed to run runc create/exec call for container 45f845a184803cfac98f1beac09fa01008166b02ea8e642780c52528b6164687: exit status 1 Stack Trace: github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*container).startProcess /go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:580 github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*runcRuntime).runCreateCommand /go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:471 github.com/Microsoft/opengcs/service/gcs/runtime/runc.(*runcRuntime).CreateContainer /go/src/github.com/Microsoft/opengcs/service/gcs/runtime/runc/runc.go:113 github.com/Microsoft/opengcs/service/gcs/core/gcs.(*gcsCore).ExecProcess /go/src/github.com/Microsoft/opengcs/service/gcs/core/gcs/gcs.go:351 github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).execProcess /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:637 github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).execProcess-fm /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:253 github.com/Microsoft/opengcs/service/gcs/bridge.HandlerFunc.ServeMsg /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:72 github.com/Microsoft/opengcs/service/gcs/bridge.(*Mux).ServeMsg /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:146 github.com/Microsoft/opengcs/service/gcs/bridge.(*Bridge).ListenAndServe.func2.1 /go/src/github.com/Microsoft/opengcs/service/gcs/bridge/bridge.go:335 runtime.goexit /usr/lib/go/src/runtime/asm_amd64.s:1333 Provider: 00000000-0000-0000-0000-000000000000] extra info: {"CommandArgs":["/bin/sh","-c","npm install"],"WorkingDirectory":"/app","Environment":{"HOSTNAME":"45f845a18480","NODE_VERSION":"15.14.0","PATH":"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","YARN_VERSION":"1.22.5"},"CreateStdInPipe":true,"CreateStdOutPipe":true,"CreateStdErrPipe":true,"ConsoleSize":[0,0],"OCISpecification":{"ociVersion":"1.0.2-dev","process":{"user":{"uid":0,"gid":0},"args":["/bin/sh","-c","npm install"],"env":["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","HOSTNAME=45f845a18480","NODE_VERSION=15.14.0","YARN_VERSION=1.22.5"],"cwd":"/app","capabilities":{"bounding":["CAP_CHOWN","CAP_DAC_OVERRIDE","CAP_FSETID","CAP_FOWNER","CAP_MKNOD","CAP_NET_RAW","CAP_SETGID","CAP_SETUID","CAP_SETFCAP","CAP_SETPCAP","CAP_NET_BIND_SERVICE","CAP_SYS_CHROOT","CAP_KILL","CAP_AUDIT_WRITE"],"effective":["CAP_CHOWN","CAP_DAC_OVERRIDE","CAP_FSETID","CAP_FOWNER","CAP_MKNOD","CAP_NET_RAW","CAP_SETGID","CAP_SETUID","CAP_SETFCAP","CAP_SETPCAP","CAP_NET_BIND_SERVICE","CAP_SYS_CHROOT","CAP_KILL","CAP_AUDIT_WRITE"],"inheritable":["CAP_CHOWN","CAP_DAC_OVERRIDE","CAP_FSETID","CAP_FOWNER","CAP_MKNOD","CAP_NET_RAW","CAP_SETGID","CAP_SETUID","CAP_SETFCAP","CAP_SETPCAP","CAP_NET_BIND_SERVICE","CAP_SYS_CHROOT","CAP_KILL","CAP_AUDIT_WRITE"],"permitted":["CAP_CHOWN","CAP_DAC_OVERRIDE","CAP_FSETID","CAP_FOWNER","CAP_MKNOD","CAP_NET_RAW","CAP_SETGID","CAP_SETUID","CAP_SETFCAP","CAP_SETPCAP","CAP_NET_BIND_SERVICE","CAP_SYS_CHROOT","CAP_KILL","CAP_AUDIT_WRITE"]}},"root":{"path":"rootfs"},"hostname":"45f845a18480","mounts":[{"destination":"/proc","type":"proc","source":"proc","options":["nosuid","noexec","nodev"]},{"destination":"/dev","type":"tmpfs","source":"tmpfs","options":["nosuid","strictatime","mode=755","size=65536k"]},{"destination":"/dev/pts","type":"devpts","source":"devpts","options":["nosuid","noexec","newinstance","ptmxmode=0666","mode=0620","gid=5"]},{"destination":"/sys","type":"sysfs","source":"sysfs","options":["nosuid","noexec","nodev","ro"]},{"destination":"/sys/fs/cgroup","type":"cgroup","source":"cgroup","optionsation":"/dev/shm","type":"tmpfs","source":"shm","options":["nosuid","noexec","nodev","mode=1777"]}],"linux":{"resources":{},"namespaces":[{"type":"mount"},{"type":"network"},{"type":"uts"},{"type":"pid"},{"type":"ipc"}],"maskedPaths":["/proc/asound","/proc/acpi","/proc/kcore","/proc/keys","/proc/latency_stats","/proc/timer_list","/proc/timer_stats","/proc/sched_debug","/proc/scsi","/sys/firmware"],"readonlyPaths":["/proc/bus","/proc/fs","/proc/irq","/proc/sys","/proc/sysrq-trigger"]},"windows":{"layerFolders":["D:\Docker\images\lcow\b634aca13eea4407b41806499a4afa331aaae5b0ec64f15ea93a45f95fcef9c4","D:\Docker\images\lcow\51acb360ee79987b4dfe89caa75011c9299f1e3600a6c202925e39e85bcd9f58","D:\Docker\images\lcow\c2a1d6a761cdf56a864c271c7bd9d41e0d059a7cabd077ee6773fe62944302ac","D:\Docker\images\lcow\862c2fe9a6bc6a78b65f4c9334e93c97aec9cdd49ebf5f206fc5297d71b0bc0a","D:\Docker\images\lcow\8278817a4d5f7ed7f97e70fd6b683aeb8ba804549dfc45dd1463b867bb53b2c0","D:\Docker\images\lcow\3f58a629732a16e8a05dc10d542fc779f224a6b736e3a07ed75951ee33762489","D:\Docker\images\lcow\35d283fd46929a26e8e7e0ca11b3513edc6740a4ec8345c592efeeab3adf39fc","D:\Docker\images\lcow\9dd3382aed2bc2f4b717b5c60e517c1cda8a1dd6b950825b092652433646548c","D:\Docker\images\lcow\1c260b9d4b871f22cbc65a038fb4e4c72f271e146fb3c52b65d1d918dc6f36f6","D:\Docker\images\lcow\0fe0c55a7d54109eb00643ef2f5814b48e088f44f995c0e0a04a1a2aa67930f4","D:\Docker\images\lcow\baf56edfce5d355923d269ab1d64e36c47a5a38d7d76762f898c674735b4270b","D:\Docker\images\lcow\45f845a184803cfac98f1beac09fa01008166b02ea8e642780c52528b6164687"],"hyperv":{},"network":{"endpointList":["98b2ab43-21ba-400e-9722-7293c94db121"],"allowUnqualifiedDNSQuery":true}}}}

Link para o comentário
Compartilhar em outros sites

Crie uma conta ou entre para comentar

Você precisa ser um usuário para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar agora

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...

 

GRÁTIS: ebook Redes Wi-Fi – 2ª Edição

EBOOK GRÁTIS!

CLIQUE AQUI E BAIXE AGORA MESMO!