Bug 2152516

Summary: "docker build" doesn't work anymore if it is targeting a podman server
Product: Red Hat Enterprise Linux 8 Reporter: Sameer <snangare>
Component: podmanAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Edward Shen <weshen>
Severity: high Docs Contact:
Priority: high    
Version: 8.7CC: ajia, bbaude, dornelas, dwalsh, jligon, jnovy, lsm5, mboddu, mheon, pthomas, tsweeney, umohnani, ypu
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: podman-4.3.1-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2152640 2152736 (view as bug list) Environment:
Last Closed: 2023-05-16 08:22:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2152640, 2152736    

Comment 8 Joy Pu 2023-02-27 12:58:01 UTC
Test with container-tools-rhel8-8080020230227083050.8108cfbc. Related test cases in apiv2 passed:
# grep "cache" test_log 
ok 127 [10-images] POST libpod/build?dockerfile=containerfile&cachefrom=[] : status=200
ok 128 [10-images] POST libpod/build?dockerfile=containerfile&cachefrom=[] : .stream ('STEP 1/1: FROM quay.io/libpod/alpine_labels:latest') ~ STEP 1/1: FROM quay.io/libpod/alpine_labels:latest

So move it to verified.

Comment 9 Alex Jia 2023-04-25 00:50:14 UTC
Also verified on podman-4.4.1-11.module+el8.8.0+18640+3a46c1ae.

[root@kvm-02-guest24 apiv2]# grep "cache" /tmp/test-apiv2.log.20230424T204559
$ POST libpod/build?dockerfile=containerfile&cachefrom=[]
ok 127 [10-images] POST libpod/build?dockerfile=containerfile&cachefrom=[] : status=200
ok 128 [10-images] POST libpod/build?dockerfile=containerfile&cachefrom=[] : .stream ('STEP 1/1: FROM quay.io/libpod/alpine_labels:latest') ~ STEP 1/1: FROM quay.io/libpod/alpine_labels:latest
  "stream": "STEP 2/5: RUN apk add --no-cache lua5.3 lua-filesystem lua-lyaml lua-http\n"

[root@kvm-02-guest24 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.8 (Ootpa)

[root@kvm-02-guest24 ~]# rpm -q podman runc crun fuse-overlayfs systemd kernel
podman-4.4.1-11.module+el8.8.0+18640+3a46c1ae.x86_64
runc-1.1.4-1.module+el8.8.0+18060+3f21f2cc.x86_64
crun-1.8.4-2.module+el8.8.0+18669+fa5aca5a.x86_64
fuse-overlayfs-1.11-1.module+el8.8.0+18634+9a268292.x86_64
systemd-239-74.el8_8.x86_64
kernel-4.18.0-477.10.1.el8_8.x86_64

Comment 11 errata-xmlrpc 2023-05-16 08:22:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2758