From a python project, I try to create the shell container as described in devenv documentation. The container seems to be created, but copy to the local docker daemon fails. I guess it also fails to other registries (I am interested in copying to my company's gitlab registry).
Environment: Ubuntu 22.04.4 LTS (VMWare VM)
# kzorba @ kzorba-dev01 in ~/WorkingArea/py_project on git:main x [19:03:27]
$ docker version
Client: Docker Engine - Community
Version: 26.1.0
API version: 1.45
Go version: go1.21.9
Git commit: 9714adc
Built: Mon Apr 22 17:06:41 2024
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 26.1.0
API version: 1.45 (minimum version 1.24)
Go version: go1.21.9
Git commit: c8af8eb
Built: Mon Apr 22 17:06:41 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.31
GitCommit: e377cd56a71523140ca6ae87e30244719194a521
runc:
Version: 1.1.12
GitCommit: v1.1.12-0-g51d5e94
docker-init:
Version: 0.19.0
GitCommit: de40ad0
# kzorba @ kzorba-dev01 in ~/WorkingArea/py_project on git:main x [19:01:43] C:1
$ devenv version
devenv 1.0.4 (x86_64-linux)
# kzorba @ kzorba-dev01 in ~/WorkingArea/py_project on git:main x [19:01:49]
$ nix --version
nix (Nix) 2.21.2
# kzorba @ kzorba-dev01 in ~/WorkingArea/py_project on git:main x [19:00:29]
$ devenv container run shell
• Building shell container ...
• Using Cachix: nixpkgs-python, devenv
/nix/store/l9gbdcfs007crl00hlmqnfrycwf9xf9f-image-shell.json
✔ Building shell container in 17.8s.
• Running /nix/store/vpphrbqh2ailvjngf26f5cmv0rfjp67a-copy-container /nix/store/l9gbdcfs007crl00hlmqnfrycwf9xf9f-image-shell.json docker-daemon:
Copying container /nix/store/l9gbdcfs007crl00hlmqnfrycwf9xf9f-image-shell.json to docker-daemon:shell:latest
Getting image source signatures
Copying blob f3fe9d5b36ce done |
Copying blob c0f5d484d334 [=====================================>] 840.0MiB / 840.1MiB | 18.8 MiB/s
FATA[0008] writing blob: writing to temporary on-disk layer: happened during read: Digest did not match, expected sha256:c0f5d484d3344fb5e4182e04985abe1048a335b0e8333c7ff55841fa95284089, got sha256:fa86f8b0de46976304ed126f68fe0b940f3ba0c8cd53f816dd32d611977f2bb3
✔ Copying shell container in 10.7s.
Error: × Failed to copy container
From a python project, I try to create the shell container as described in devenv documentation. The container seems to be created, but copy to the local docker daemon fails. I guess it also fails to other registries (I am interested in copying to my company's gitlab registry).
Environment: Ubuntu 22.04.4 LTS (VMWare VM)