Skip to content

Commit 5208c19

Browse files
authored
Merge pull request #3612 from craigcomstock/update-containerized-install
Adjusted installation-community-containerized docs from ubi9 to ubi10
2 parents 5032db5 + 402cb96 commit 5208c19

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

content/getting-started/01-installation/general-installation/installation-community-containerized.markdown

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ aliases:
66
- "/getting-started-installation-general-installation-installation-community-containerized.html"
77
---
88

9-
The instructions in this guide describe how to download and install the latest version of CFEngine Community in a Docker containerized environment using pre-compiled rpm packages and ubi9 images.
9+
The instructions in this guide describe how to download and install the latest version of CFEngine Community in a Docker containerized environment using pre-compiled rpm packages and ubi10 images.
1010

1111
This guide describes how to set up a client-server model with CFEngine and, through policy, manage both containers.
1212

1313
Docker containers will be created, one container to be the Policy Server (server), and another container that will be the Host Agent (client).
1414

15-
Both the containers will run **_ubi9-init_** images and communicate on a container network.
15+
Both the containers will run **_ubi10-init_** images and communicate on a container network.
1616
Upon completion, you are ready to start working with CFEngine.
1717

1818
## Requirements
@@ -49,7 +49,7 @@ OR
4949
Run the container with systemd
5050

5151
```command
52-
docker run --privileged -dit --name=cfengine-hub registry.access.redhat.com/ubi9-init /usr/sbin/init
52+
docker run --privileged -dit --name=cfengine-hub registry.access.redhat.com/ubi10-init /usr/sbin/init
5353
```
5454

5555
Prepare the container for **cfengine-hub**
@@ -75,7 +75,7 @@ docker exec cfengine-hub bash -c "/usr/local/sbin/cf-agent --bootstrap \$(ip -4
7575
The procedure to setup **cfengine-host** is similar to the **cfengine-hub** deployment. The changes are to the name of the host container for better identification and bootstrap IP of the **cfengine-hub**.
7676

7777
```command
78-
docker run --privileged -dit --name=cfengine-host registry.access.redhat.com/ubi9-init /usr/sbin/init
78+
docker run --privileged -dit --name=cfengine-host registry.access.redhat.com/ubi10-init /usr/sbin/init
7979
```
8080

8181
Prepare the container for **cfengine-host**
@@ -111,8 +111,8 @@ docker exec cfengine-host bash -c "/usr/local/sbin/cf-agent --bootstrap ${CFENGI
111111
Create a `Dockerfile` with the following contents:
112112

113113
```Dockerfile
114-
FROM registry.access.redhat.com/ubi9-init:latest
115-
LABEL description="This Dockerfile builds container image based on ubi9-init and latest LTS release of cfengine-community."
114+
FROM registry.access.redhat.com/ubi10-init:latest
115+
LABEL description="This Dockerfile builds container image based on ubi10-init and latest LTS release of cfengine-community."
116116

117117
RUN dnf -y update \
118118
&& dnf -y install bind-utils iproute sudo pip procps-ng \
@@ -135,7 +135,7 @@ docker build -t cfengine:lts -f Dockerfile . --check
135135
[+] Building 0.1s (3/3) FINISHED docker:default
136136
=> [internal] load build definition from Dockerfile 0.0s
137137
=> => transferring dockerfile: 596B 0.0s
138-
=> [internal] load metadata for registry.access.redhat.com/ubi9-init:latest 0.0s
138+
=> [internal] load metadata for registry.access.redhat.com/ubi10-init:latest 0.0s
139139
=> [internal] load .dockerignore 0.0s
140140
=> => transferring context: 2B 0s
141141
Check complete, no warnings found.
@@ -300,4 +300,4 @@ docker compose -f compose.yaml down
300300
- [Docker compose file](https://docs.docker.com/reference/compose-file/)
301301
- [RedHat Universal Base Image (UBI)](https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image)
302302
- [Using the UBI init images](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/building_running_and_managing_containers/index#using-the-ubi-init-images_assembly_adding-software-to-a-ubi-container)
303-
- [ubi9-init repository](https://catalog.redhat.com/software/containers/ubi9-init/6183297540a2d8e95c82e8bd)
303+
- [ubi10-init repository](https://catalog.redhat.com/software/containers/ubi10-init/6183297540a2d8e95c82e8bd)

0 commit comments

Comments
 (0)