Skip to content

Commit aafe80a

Browse files
efahlaparcar
authored andcommitted
readme: fix bug in roll-your-own setup instructions
My VM gave me user id 1000, which caused some confusion when I first tried to get the server up. Fix the instructions to use 'id -u', so users don't have to figure it out. Signed-off-by: Eric Fahlgren <[email protected]>
1 parent 49985cb commit aafe80a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Now it's possible to run all services via `podman-compose`:
8282
# where to store images and json files
8383
echo "PUBLIC_PATH=$(pwd)/public" > .env
8484
# absolute path to podman socket mounted into worker containers
85-
echo "CONTAINER_SOCK=/run/user/1001/podman/podman.sock" >> .env
85+
echo "CONTAINER_SOCK=/run/user/$(id -u)/podman/podman.sock" >> .env
8686
podman-compose up -d
8787

8888
This will start the server, the Podman API container and two workers. The first

0 commit comments

Comments
 (0)