[ ์๋ฌ ] ๐ก
ํญ์ ์ ์จ์ค๋ Dockerfile๋ก ๋น๋ ๋ช ๋ น์ด๋ฅผ ์คํํ์ ์๋์ ๊ฐ์ ๋ฉ์์ง์ ํจ๊ป ์คํจํ๋ค.
์คํํ๊ฒฝ์ Windows์ WSL2 ์ด๋ค.
- ERROR [internal] load metadata for docker.io/library/node:14.17.0-alpine
- failed to solve with {์ปจํ ์ด๋ ์ด๋ฆ} dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: ``
$ docker build --tag superpower/pes-server-dev --file Dockerfile.dev ./
[+] Building 0.9s (2/3)
[+] Building 1.0s (3/3) FINISHED
=> [internal] load build definition from Dockerfile.dev 0.0s
=> => transferring dockerfile: 42B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> ERROR [internal] load metadata for docker.io/library/node:14.17.0-alpine 0.9s
------
> [internal] load metadata for docker.io/library/node:14.17.0-alpine:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: ``
[ TRY-1 ์คํจ ] ๐ฅ
์ ์ผ ํ๋จ "Reset to factory defaults" - ๋ชจ๋ ์ธํ ์ ์ด๊ธฐํํ๊ณ ์๋ํด๋ ๋์ผํ ์ค๋ฅ ๋ฐ์.
[ TRY-2 ์ฑ๊ณต ] ๐
WSL2 ์์ ์ฌ์ฉํ๋ `docker config`๋ฅผ ์ญ์ ํ๊ฑฐ๋ ์์ ํด์ฃผ๋ฉด ํด๊ฒฐ๋๋ค.
1. ์ญ์
rm ~/.docker/config.json
2. ์์
"credsStore": "desktop.exe" to "credStore": "desktop.exe" in ~/.docker/config.json
'Develop > DevOps' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
mssql with docker (0) | 2022.05.22 |
---|---|
Vagrant ๊ฐ ๋ญ์ง? (0) | 2022.05.15 |
[docker] ๋ช ๋ น์ด cheatsheet (0) | 2021.12.26 |
[docker] ๋์ปค๋ ์ด๋ป๊ฒ ์ปจํ ์ด๋๋ฅผ ๊ฒฉ๋ฆฌ ์ํฌ๊น?๐ค (0) | 2021.12.26 |
[jenkins] React ํ๋ก์ ํธ Docker + jenkins๋ก CI/CD (0) | 2021.12.25 |
๋๊ธ