Skip to content

Commit b8ec15d

Browse files
LennonkamaximiliankolbGauravtalreja1
authored
Add Configuring Podman for HTTP proxy (#4225)
Co-authored-by: Maximilian Kolb <mail@maximilian-kolb.de> Co-authored-by: Gaurav Talreja <gauravtalreja1@gmail.com>
1 parent 306b21b commit b8ec15d

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

guides/common/assembly_installing-and-configuring-insights-iop.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
include::modules/con_installing-and-configuring-insights-iop.adoc[]
22

33
ifdef::installing-satellite-server-connected[]
4+
include::modules/proc_configuring-podman-to-use-an-http-proxy.adoc[leveloffset=+1]
5+
46
include::modules/proc_installing-insights-iop-on-a-connected-project-context-server.adoc[leveloffset=+1]
57
endif::[]
68

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
:_mod-docs-content-type: PROCEDURE
2+
3+
[id="configuring-podman-to-use-an-http-proxy"]
4+
= Configuring Podman to use an HTTP proxy
5+
6+
If your {ProjectServer} connects to the internet through an HTTP proxy, configure Podman for connections through the same HTTP proxy.
7+
8+
.Prerequisites
9+
* Podman is installed.
10+
ifdef::satellite[]
11+
For more information, see {RHELDocsBaseURL}9/html/building_running_and_managing_containers/assembly_starting-with-containers_building-running-and-managing-containers#proc_getting-container-tools_assembly_starting-with-containers[Getting container tools] in _{RHEL}{nbsp}9 Building, running, and managing containers_.
12+
endif::[]
13+
ifndef::satellite[]
14+
For more information, see https://podman.io/docs/installation#installing-on-linux[Installing Podman on Linux].
15+
endif::[]
16+
17+
.Procedure
18+
* Edit the `/etc/containers/containers.conf` file to include the following directive:
19+
+
20+
[source, ini, options="nowrap", subs="+quotes,verbatim,attributes"]
21+
----
22+
[engine]
23+
env = ["http_proxy=http://_http-proxy.example.com:port_", "https_proxy=https://_http-proxy.example.com:port_"]
24+
----

0 commit comments

Comments
 (0)