You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/02-adding-containerized-services.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ Running a PostgreSQL database in a container isn't too difficult.
54
54
55
55
After running the previous command, you should see output similar to the following:
56
56
57
-
```plaintext
57
+
```plaintext no-copy-button
58
58
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
59
59
```
60
60
@@ -68,7 +68,7 @@ Running a PostgreSQL database in a container isn't too difficult.
68
68
69
69
With that, you should now see output similar to the following:
70
70
71
-
```plaintext
71
+
```plaintext no-copy-button
72
72
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
73
73
f8c7b5660668 postgres:17-alpine "docker-entrypoint.s…" 2 seconds ago Exited (1) 2 seconds ago postgres
74
74
```
@@ -85,7 +85,7 @@ Running a PostgreSQL database in a container isn't too difficult.
85
85
86
86
In the log output, you should see something similar to the following:
87
87
88
-
```plaintext
88
+
```plaintext no-copy-button
89
89
Error: Database is uninitialized and superuser password is not specified.
90
90
You must specify POSTGRES_PASSWORD to a non-empty value for the
91
91
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.
107
107
108
108
When you run this command, you will get an error that looks similar to the following:
109
109
110
-
```plaintext
110
+
```plaintext no-copy-button
111
111
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.
112
112
```
113
113
@@ -236,7 +236,7 @@ Let's give it a try! We'll create the schema files and then update our database
236
236
237
237
After entering the password (`secret`), you should see output similar to the following:
0 commit comments