Commit 342aea4
authored
Fix the test script does not work for Docker on macOS (#297)
### Motivation
When I run `./pulsar-test-service-start.sh` on macOS m1 13.4, the
standalone failed to start due to the wrong permission of the
`test-conf` directory that is copied into the container via `docker cp`:
```
I have no name!@a00f70265760:/pulsar$ ls -l | grep test-conf
drwx------ 3 501 dialout 4096 Jun 4 13:31 test-conf
```
It seems to be a bug: docker/for-mac#1814
### Modifications
Execute `docker run` with the current username via `id -u`.1 parent 20f6fa0 commit 342aea4
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
0 commit comments