You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying the network mode in the build section of a docker-compose file, it does not get passed to the podman build command. The only way to set the network mode during the build process is too pass it through the podman-args
Describe the results you expected:
Using podman-build-args as such podman compose --verbose --podman-build-args="--network=host" I get the following which allows the RUN commmands to run on the host network
Output of podman version if reporting a podman build issue:
Client: Podman Engine
Version: 4.9.4-rhel
API Version: 4.9.4-rhel
Go Version: go1.21.7 (Red Hat 1.21.7-2.module+el8.10.0+21638+b01be198)
Built: Tue Jun 18 05:34:14 2024
OS/Arch: linux/amd64
Output of cat /etc/*release:
NAME="Red Hat Enterprise Linux"
VERSION="8.10 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.10 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.10
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
Red Hat Enterprise Linux release 8.10 (Ootpa)
Red Hat Enterprise Linux release 8.10 (Ootpa)
The text was updated successfully, but these errors were encountered:
Describe the bug
When specifying the network mode in the build section of a docker-compose file, it does not get passed to the podman build command. The only way to set the network mode during the build process is too pass it through the podman-args
Steps to reproduce the issue:
docker-compose.yml:
Dockerfile
:Describe the results you received:
Using
podman compose --verbose build
I get the following outputDescribe the results you expected:
Using podman-build-args as such
podman compose --verbose --podman-build-args="--network=host"
I get the following which allows the RUN commmands to run on the host networkOutput of
rpm -q buildah
orapt list buildah
:Output of
buildah version
:Output of
podman version
if reporting apodman build
issue:Output of
cat /etc/*release
:The text was updated successfully, but these errors were encountered: