Skip to content

Commit 36e8288

Browse files
committed
Disambiguate images vs. containers
1 parent 4828bb6 commit 36e8288

File tree

1 file changed

+7
-7
lines changed
  • src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates

1 file changed

+7
-7
lines changed

src/content/docs/cloudflare-one/connections/connect-devices/warp/user-side-certificates/manual-deployment.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -435,15 +435,15 @@ To install a certificate for use in a Docker container:
435435
└── certificate.pem
436436
```
437437

438-
4. Add the certificate to your Docker container:
438+
4. Add the certificate to your Docker image:
439439

440440
<Tabs> <TabItem label="During build process">
441441

442442
To add the certificate to your Dockerfile to install it during the build process:
443443

444444
1. Add the certificate install directions to your Dockerfile. For example:
445445

446-
```docker title="Red Hat-based containers"
446+
```docker title="Red Hat-based images"
447447
FROM registry.access.redhat.com/ubi9/ubi:latest
448448
# Or FROM centos:7 or FROM fedora:38
449449
@@ -455,7 +455,7 @@ To install a certificate for use in a Docker container:
455455
RUN update-ca-trust extract
456456
```
457457

458-
```docker title="Debian-based containers"
458+
```docker title="Debian-based images"
459459
FROM debian:12
460460
# Or FROM ubuntu:22.04
461461
@@ -467,7 +467,7 @@ To install a certificate for use in a Docker container:
467467
RUN update-ca-certificates
468468
```
469469

470-
```docker title="Alpine-based containers"
470+
```docker title="Alpine-based images"
471471
FROM alpine:3.18
472472
473473
# Install necessary certificates package
@@ -478,19 +478,19 @@ To install a certificate for use in a Docker container:
478478
RUN update-ca-certificates
479479
```
480480

481-
2. Build the Docker container:
481+
2. Build the Docker image:
482482

483483
```sh
484484
docker build -t <your-container-name> .
485485
```
486486

487487
3. Verify the certificate was installed:
488488

489-
```sh title="Red Hat-based containers"
489+
```sh title="Red Hat-based images"
490490
docker run --rm your-image-name sh -c "cat /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem | grep Cloudflare"
491491
```
492492

493-
```sh title="Debian and Alpine-based containers"
493+
```sh title="Debian and Alpine-based images"
494494
docker run --rm your-image-name sh -c "cat /etc/ssl/certs/certificate.pem"
495495
```
496496

0 commit comments

Comments
 (0)