You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "tombentley (via GitHub)" <gi...@apache.org> on 2023/09/26 03:35:44 UTC
[GitHub] [kafka-site] tombentley commented on a diff in pull request #410: KAFKA-13882 Docker to preview docs locally
tombentley commented on code in PR #410:
URL: https://github.com/apache/kafka-site/pull/410#discussion_r1336588112
##########
start-preview.sh:
##########
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+set -euxo pipefail
+
+docker build -t kafka-site-preview .
+
+docker run -it --rm --name mypreview -p 8080:80 -v "$PWD":/usr/local/apache2/htdocs/ kafka-site-preview
Review Comment:
I needed to add :z to the volume mount for this to work with podman (as opposed to docker) on Fedora)
```suggestion
docker run -it --rm --name mypreview -p 8080:80 -v "$PWD":/usr/local/apache2/htdocs/:z kafka-site-preview
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org