Skip to content

Commit f4a3218

Browse files
update
1 parent cff2333 commit f4a3218

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/security/audit-log.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ By default, audit logs are output as key-value pairs. To enable JSON format for
4747

4848
**Docker example with JSON format:**
4949
```bash
50-
docker run -d \
50+
docker run --rm --init \
5151
--name bytebase \
52+
--publish 8080:8080 --pull always \
53+
--volume ~/.bytebase/data:/var/opt/bytebase \
5254
bytebase/bytebase:latest \
53-
--enable-json-logging \
54-
--port 8080 \
55-
--data /var/opt/bytebase
55+
--enable-json-logging
5656
```
5757

5858
### Example output

0 commit comments

Comments
 (0)