Skip to content

Commit 02722f3

Browse files
authored
Update README.md (sidpalas#28)
1 parent 9ff3c72 commit 02722f3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎04-using-3rd-party-containers/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,15 @@ https://hub.docker.com/_/mysql
287287
docker run -d --rm \
288288
-v mysqldata:/var/lib/mysql \
289289
-e MYSQL_ROOT_PASSWORD=foobarbaz \
290+
-p 3306:3306 \
290291
mysql:8.0.32
291292

292293
# With custom conf.d
293294
docker run -d --rm \
294295
-v mysqldata:/var/lib/mysql \
295296
-v ${PWD}/conf.d:/etc/mysql/conf.d \
296297
-e MYSQL_ROOT_PASSWORD=foobarbaz \
298+
-p 3306:3306 \
297299
mysql:8.0.32
298300
```
299301

0 commit comments

Comments
 (0)