envd: bug: failed to slove LLB when running the envd up for project envd-quick-start
Description
(ti-infer) [root@VM-151-70-centos envd-quick-start]# docker version
Client: Docker Engine - Community
Version: 20.10.2
API version: 1.41
Go version: go1.13.15
Git commit: 2291f61
Built: Mon Dec 28 16:17:40 2020
OS/Arch: linux/amd64
Context: default
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 20.10.8
API version: 1.41 (minimum version 1.12)
Go version: go1.16.6
Git commit: 75249d8
Built: Fri Jul 30 19:52:00 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.3
GitCommit: 269548fa27e0089a8b8278fc4fc781d7f65a939b
runc:
Version: 1.0.0-rc92
GitCommit: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
docker-init:
Version: 0.19.0
GitCommit: de40ad0
(ti-infer) [root@VM-151-70-centos envd-quick-start]# envd up
[+] ⌚ parse build.envd and download/cache dependencies 0.0s ✅ (finished)
=> 💽 (cached) download oh-my-zsh 0.0s
[+] 🐋 build envd environment 1.2s (4/19)
=> docker-image://docker.io/tensorchord/python:3.8-ubuntu20.04 1.1s
=> => resolve docker.io/tensorchord/python:3.8-ubuntu20.04 1.0s
=> local://cache-dir 0.1s
=> => transferring cache-dir: 70.89kB 0.0s
ERRO[2022-06-27T20:05:53+08:00] failed to solve LLB: failed to solve: process "useradd -p -u 0 -g envd -s /bin/sh -m envd" did not complete successfully: exit code: 4 tag="envd-quick-start:dev" 0.1s
=> 💽 (cached) [internal] create user group envd 0.0s
=> 🔥 (error) [internal] create user envd 0.1s
------
> [internal] create user envd:
#0 0.106 useradd: UID 0 is not unique
------
ERRO[2022-06-27T20:05:53+08:00] failed to load docker image: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.41/images/load?quiet=1": context canceled tag="envd-quick-start:dev"
error: process "useradd -p -u 0 -g envd -s /bin/sh -m envd" did not complete successfully: exit code: 4
```bash
## Reproduction
when I run quick-start, I get an error
https://envd.tensorchord.ai/docs/get-started/
## Additional Info
Linux version 5.4.32-1-tlinux4-0001 (root@3c7067f9a859) (gcc version 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)) #1 SMP Tue Jul 21 14:24:37 CST 2020
---
<!-- Issue Author: Don't delete this message to encourage other users to support your issue! -->
**Message from the maintainers**:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (16 by maintainers)
Most upvoted comments
+1
enjoyliu on Jun 27, 2022