containers / containers/podman-compose

Podman Compose does not accept proxy settings

Open
#896 3 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
6.2k
Forks
622
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When using `podman compose build` the proxy settings does not accept during build. But when build an image explicit with `podman build`, it works.

**To Reproduce**
I configured the proxy as followed:
1. Set proxy settings in Podman Desktop Settings
2. Set proxy settings for containers: https://podman-desktop.io/docs/proxy/using-a-proxy-in-your-containers
3. Export environment variables before executing `podman compose build`/`podman build` (http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY)
4. Set args and environment variables in docker-compose.yml (http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY)

**Environment:**
- OS: Windows 10 (WSL)
- Podman Desktop: 1.7.1 (installer for restricted environments)
- podman version: 4.9.2
- podman-compose: installed from Podman Desktop

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.