Skip to content

Commit 1123ca4

Browse files
committed
Minor updates to docs to hide various copy buttons
1 parent 52559c0 commit 1123ca4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/02-adding-containerized-services.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Running a PostgreSQL database in a container isn't too difficult.
5454

5555
After running the previous command, you should see output similar to the following:
5656

57-
```plaintext
57+
```plaintext no-copy-button
5858
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5959
```
6060

@@ -68,7 +68,7 @@ Running a PostgreSQL database in a container isn't too difficult.
6868
6969
With that, you should now see output similar to the following:
7070
71-
```plaintext
71+
```plaintext no-copy-button
7272
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7373
f8c7b5660668 postgres:17-alpine "docker-entrypoint.s…" 2 seconds ago Exited (1) 2 seconds ago postgres
7474
```
@@ -85,7 +85,7 @@ Running a PostgreSQL database in a container isn't too difficult.
8585
8686
In the log output, you should see something similar to the following:
8787
88-
```plaintext
88+
```plaintext no-copy-button
8989
Error: Database is uninitialized and superuser password is not specified.
9090
You must specify POSTGRES_PASSWORD to a non-empty value for the
9191
superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run".
@@ -107,7 +107,7 @@ Running a PostgreSQL database in a container isn't too difficult.
107107

108108
When you run this command, you will get an error that looks similar to the following:
109109

110-
```plaintext
110+
```plaintext no-copy-button
111111
docker: Error response from daemon: Conflict. The container name "/postgres" is already in use by container "f8c7b5660668324140f773b0a54a723bfe069a4d71ba231ca2ec8c4f33ddd314". You have to remove (or rename) that container to be able to reuse that name.
112112
```
113113

@@ -236,7 +236,7 @@ Let's give it a try! We'll create the schema files and then update our database
236236
237237
After entering the password (`secret`), you should see output similar to the following:
238238
239-
```plaintext
239+
```plaintext no-copy-button
240240
id | url | creation_date
241241
----+------------------------------------------------------------+---------------
242242
1 | https://media.giphy.com/media/kyLYXonQYYfwYDIeZl/giphy.gif | 2025-08-19
@@ -335,7 +335,7 @@ That's where Docker Compose comes in! With Compose, we can create a `compose.yam
335335

336336
The `-d` will run everything in the background. But, you should see output indicating the containers have started:
337337

338-
```plaintext
338+
```plaintext no-copy-button
339339
[+] Running 2/2
340340
✔ Network project_default Created 0.0s
341341
✔ Container project-db-1 Started 0.2s

docs/06-securing-our-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ With Docker Scout, we can easily analyze our image using the policies specified
3333

3434
If you have an organization configured, you're likely to see output similar to the following:
3535
36-
```plaintext
36+
```plaintext no-copy-button
3737
Policy status FAILED (6/7 policies met)
3838
3939
Status │ Policy │ Results
@@ -70,7 +70,7 @@ With Docker Scout, we can easily analyze our image using the policies specified
7070

7171
The output should now show:
7272

73-
```plaintext
73+
```plaintext no-copy-button
7474
Policy status SUCCESS (7/7 policies met)
7575
```
7676

0 commit comments

Comments
 (0)