Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Cannot build image based on envd build image #1857

Open
1 of 2 tasks
gfhe opened this issue Feb 29, 2024 · 1 comment
Open
1 of 2 tasks

BUG: Cannot build image based on envd build image #1857

gfhe opened this issue Feb 29, 2024 · 1 comment

Comments

@gfhe
Copy link

gfhe commented Feb 29, 2024

Are you use the envd server?

  • Yes, I am using the envd server.
  • No, I am not using the envd server.

Describe the bug

I use envd build torch image, and try to build other image based on torch image, produced:

=> ERROR [internal] create user group envd(g:33333)                                                                                                                                                                                               0.2s
------
 > [internal] create user group envd(g:33333):
#0 0.206 groupadd: group 'envd' already exists
------
FATA[2024-02-29T05:45:07Z] exit                                          app=envd error="failed to build the image: failed to build: failed to wait error group: failed to solve LLB: failed to solve: process \"groupadd -g 33333 envd\" did not complete successfully: exit code: 9" version=v0.3.45

To Reproduce

Ignore

Expected behavior

No response

The docker info output

gitpod /workspace/LLM (main) $ docker info
Client: Docker Engine - Community
 Version:    25.0.3
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.12.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.23.3-gitpod.1
    Path:     /usr/local/lib/docker/cli-plugins/docker-compose

Server:
 Containers: 1
  Running: 1
  Paused: 0
  Stopped: 0
 Images: 1
 Server Version: 25.0.3
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: false
  userxattr: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: gitpod io.containerd.runc.v2 runc
 Default Runtime: gitpod
 Init Binary: docker-init
 containerd version: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc version: v1.1.9-0-gccaecfcb
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.1.75-060175-generic
 Operating System: Ubuntu 22.04.4 LTS (containerized)
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 62.79GiB
 Name: gfhe-llm-v0xnhp839t5
 ID: d8037a0b-5cd4-493b-859e-816691ebd266
 Docker Root Dir: /workspace/.docker-root
 Debug Mode: false
 Username: hgfkeep
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

The envd version output

gitpod /workspace/LLM (main) $ envd version
envd: v0.3.45
  BuildDate: 2024-01-24T15:13:01Z
  GitCommit: 3ed665dc3f768f07ed160970fd0ec9b836cdb264
  GitTreeState: clean
  GitTag: v0.3.45
  GoVersion: go1.19.10
  Compiler: gc
  Platform: linux/amd64

Additional context

No response

@kemingy
Copy link
Member

kemingy commented Feb 29, 2024

I cannot reproduce this on gitpod. Can you provide your build.envd file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants