Skip to content

Commit 4be1137

Browse files
committed
rebuild using port 5439
1 parent 5dcfdd4 commit 4be1137

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

talks/data-workshop-2019-04-06/010-setup_and_basic_concepts.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ knitr::opts_chunk$set(echo = FALSE)
7474
* Typically, a single process in the container will offer a service by listening on a TCP port.
7575
* For that service to be useful on the host, we _publish_ that port to `localhost`.
7676
* In this workshop, we'll run the PostgreSQL image with the `dvdrental` database on it in a container and publish its port, *5439*, to `localhost`.
77-
- We are using port 5439 rather than the default 5432. Why? If you have PostgreSQL running on the host or another container, it probably claimed port 5432, since that's the default. So we need to use a different port for *our* PostgreSQL container.
77+
- We use port 5439 rather than the default 5432. Why? If PostgreSQL is running on the host or in another container, it probably has claimed port 5432, since that's its default, and our container won't work! So we need to use a different port for our PostgreSQL container.
7878
7979
# PostgreSQL Database Administration 101
8080

talks/data-workshop-2019-04-06/010-setup_and_basic_concepts.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3214,7 +3214,7 @@ <h2 data-config-subtitle><!-- populated from slide_config.json --></h2>
32143214
<li>In this workshop, we’ll run the PostgreSQL image with the <code>dvdrental</code> database on it in a container and publish its port, <em>5439</em>, to <code>localhost</code>.
32153215

32163216
<ul>
3217-
<li>We are using port 5439 rather than the default 5432. Why? If you have PostgreSQL running on the host or another container, it probably claimed port 5432, since that’s the default. So we need to use a different port for <em>our</em> PostgreSQL container.</li>
3217+
<li>We use port 5439 rather than the default 5432. Why? If PostgreSQL is running on the host or in another container, it probably has claimed port 5432, since that’s its default, and our container won’t work! So we need to use a different port for our PostgreSQL container.</li>
32183218
</ul></li>
32193219
</ul>
32203220

0 commit comments

Comments
 (0)