Open
Description
Summary
After working around #2376 by editing my /etc/containers/registries.conf
, I hit another error while building with Podman.
Reproduction
Steps
git clone https://github.com/buildpacks/samples buildpacks-samples
- Add
unqualified-search-registries = ["index.docker.io"]
to/etc/containers/registries.conf
. DOCKER_HOST="unix://$(podman info -f "{{.Host.RemoteSocket.Path}}")" pack build sample-app --path buildpacks-samples/apps/ruby-bundler/ --builder index.docker.io/cnbs/sample-builder:noble --docker-host=inherit
Current behavior
$ DOCKER_HOST="unix://$(podman info -f "{{.Host.RemoteSocket.Path}}")" pack build sample-app --path buildpacks-samples/apps/ruby-bundler/ --builder index.docker.io/cnbs/sample-builder:noble --docker-host=inherit
6bd59d79929c: Already exists
36e0c996ff9f: Already exists
15c3891f682c: Already exists
9257a508d8b4: Already exists
a2e47f292e2e: Already exists
295156d243be: Already exists
1763d0c6967f: Already exists
2dfaa2cde8a8: Already exists
49025e280f6c: Already exists
8ca48f841f8c: Already exists
6c6c63e26408: Already exists
1e96ded835bc: Already exists
738cf76368f9: Already exists
fd112c64004f: Already exists
3882072c5ab9: Already exists
de305c158623: Already exists
4f4fb700ef54: Already exists
5a7813e071bf: Already exists
3705e0fea26d: Download complete
5a7813e071bf: Already exists
2ba9a37ab3bf: Already exists
a2e47f292e2e: Already exists
36e0c996ff9f: Already exists
cc4cafe86fd6: Download complete
33e068de2649: Already exists
bfb59b82a9b6: Already exists
7c12895b777b: Already exists
a62778643d56: Already exists
c6b97f964990: Already exists
0bab15eea81d: Already exists
4aa0ea1413d3: Already exists
5664b15f108b: Already exists
da7816fa955e: Already exists
9aee425378d2: Already exists
5c5654c6d510: Already exists
8ffb3c3cf71a: Already
6CB8
exists
1f5fa02a790a: Download complete
===> ANALYZING
ERROR: failed to build: executing lifecycle: unable to upgrade to tcp, received 409
Expected behavior
I expected a successful build with Podman.
Environment
pack info
Pack:
Version: 0.37.0+git-bf1bd85.build-6370
OS/Arch: linux/amd64
Default Lifecycle Version: 0.20.3
Supported Platform APIs: 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13
Config:
(no config file found at /home/edysli/.pack/config.toml)
docker info
$ podman info
host:
arch: amd64
buildahVersion: 1.23.1
cgroupControllers:
- memory
- pids
cgroupManager: systemd
cgroupVersion: v2
conmon:
package: 'conmon: /usr/bin/conmon'
path: /usr/bin/conmon
version: 'conmon version 2.0.25, commit: unknown'
cpus: 12
distribution:
codename: jammy
distribution: ubuntu
version: "22.04"
eventLogger: journald
hostname: Catachan
idMappings:
gidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
uidmap:
- container_id: 0
host_id: 1000
size: 1
- container_id: 1
host_id: 100000
size: 65536
kernel: 6.8.0-57-generic
linkmode: dynamic
logDriver: journald
memFree: 1250820096
memTotal: 33554685952
ociRuntime:
name: crun
package: 'crun: /usr/bin/crun'
path: /usr/bin/crun
version: |-
crun version 0.17
commit: 0e9229ae34caaebcb86f1fde18de3acaf18c6d9a
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
os: linux
remoteSocket:
exists: true
path: /run/user/1000/podman/podman.sock
security:
apparmorEnabled: false
capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
rootless: true
seccompEnabled: true
seccompProfilePath: /usr/share/containers/seccomp.json
selinuxEnabled: false
serviceIsRemote: false
slirp4netns:
executable: /usr/bin/slirp4netns
package: 'slirp4netns: /usr/bin/slirp4netns'
version: |-
slirp4netns version 1.0.1
commit: 6a7b16babc95b6a3056b33fb45b74a6f62262dd4
libslirp: 4.6.1
swapFree: 1072689152
swapTotal: 1073737728
uptime: 3h 1m 32.97s (Approximately 0.12 days)
plugins:
log:
- k8s-file
- none
- journald
network:
- bridge
- macvlan
volume:
- local
registries: {}
store:
configFile: /home/edysli/.config/containers/storage.conf
containerStore:
number: 0
paused: 0
running: 0
stopped: 0
graphDriverName: overlay
graphOptions: {}
graphRoot: /home/edysli/.local/share/containers/storage
graphStatus:
Backing Filesystem: extfs
Native Overlay Diff: "true"
Supports d_type: "true"
Using metacopy: "false"
imageStore:
number: 4
runRoot: /run/user/1000/containers
volumePath: /home/edysli/.local/share/containers/storage/volumes
version:
APIVersion: 3.4.4
Built: 0
BuiltTime: Thu Jan 1 01:00:00 1970
GitCommit: ""
GoVersion: go1.18.1
OsArch: linux/amd64
Version: 3.4.4