bug?: Raise Auth error when run a env after build
Zheaoli opened this issue · 2 comments
Zheaoli commented
Description
Raise Auth error when run a env after build
Reproduction
envdlib = include("https://github.com/tensorchord/envdlib")
def build():
base(os="ubuntu20.04", language="python3.7")
install.apt_packages(name=["gcc","make","automake", "g++"])
install.python_packages(
requirements="./requirements.txt"
)
shell("zsh")
envdlib.jupyter_lab(host_port=12345)
- build a image with the content above by using command
envd build --tag manjusaka:dev
, - run by using the command
envd run --image manjusaka:dev --name test
- An error message has been raised from https://github.com/tensorchord/envd/blob/main/pkg/home/auth.go#L85
Additional Info
Docker Info Command Result
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.8.2)
compose: Docker Compose (Docker Inc., v2.5.0)
Server:
Containers: 3
Running: 2
Paused: 0
Stopped: 1
Images: 116
Server Version: 20.10.17
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
Default Runtime: runc
Init Binary: docker-init
containerd version: 10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
runc version:
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.15.0-1028-aws
Operating System: Ubuntu Core 18
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 124.4GiB
Name: production-optimus-2
ID: J7JT:NEC4:K6LD:NWGG:XVMQ:BCXR:LXFB:ONIV:MU6Q:3464:CUJB:3TVQ
Docker Root Dir: /var/snap/docker/common/var-lib-docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Envd Version Command results
envd: v0.3.13
BuildDate: 2023-02-20T01:50:05Z
GitCommit: 0f21639612f0c438bcd57f07de273858f5a70d81
GitTreeState: clean
GitTag: v0.3.13
GoVersion: go1.18.10
Compiler: gc
Platform: linux/amd64
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
gaocegege commented
Are you using envd-server?
Zheaoli commented
Are you using envd-server?
No, standard envd local environment