@@ -17,7 +17,7 @@ docker run -d \
1717 --rm \
1818 --name ttmp32gme \
1919 --publish 8080:8080 \
20- --volume ttmp32gme-data:/var/lib/ttmp32gme \
20+ --volume ttmp32gme-data:/data \
2121 --volume /path/to/tiptoi:/mnt/tiptoi \
2222 thawn/ttmp32gme:latest
2323```
@@ -29,7 +29,7 @@ podman run -d \
2929 --rm \
3030 --name ttmp32gme \
3131 --publish 8080:8080 \
32- --volume ttmp32gme-data:/var/lib/ttmp32gme \
32+ --volume ttmp32gme-data:/data \
3333 --volume /path/to/tiptoi:/mnt/tiptoi:Z \
3434 thawn/ttmp32gme:latest
3535```
@@ -38,7 +38,7 @@ podman run -d \
3838
3939## Volume Mounts
4040
41- - ** ` /var/lib/ttmp32gme ` ** : Application data (database, generated library files)
41+ - ** ` /data ` ** : Application data (database, generated library files)
4242 - First run: Container initializes this directory with default config
4343 - Subsequent runs: Uses existing data for persistence
4444
@@ -56,7 +56,7 @@ Podman automatically maps the container user to your host user, so permissions w
5656``` bash
5757# Your files will be owned by your user on the host
5858podman run --rm \
59- --volume ./my-data:/var/lib/ttmp32gme \
59+ --volume ./my-data:/data \
6060 --volume /media/tiptoi:/mnt/tiptoi:Z \
6161 --publish 8080:8080 \
6262 thawn/ttmp32gme:latest
@@ -69,7 +69,7 @@ If you encounter permission issues, you can use these options:
69691 . ** Option 1** : Match your user ID (recommended)
7070``` bash
7171docker run --user $( id -u) :$( id -g) \
72- --volume ./my-data:/var/lib/ttmp32gme \
72+ --volume ./my-data:/data \
7373 --volume /media/tiptoi:/mnt/tiptoi \
7474 --publish 8080:8080 \
7575 thawn/ttmp32gme:latest
@@ -100,7 +100,7 @@ docker run -d \
100100 --env HOST=127.0.0.1 \
101101 --env PORT=9000 \
102102 --publish 9000:9000 \
103- --volume ttmp32gme-data:/var/lib/ttmp32gme \
103+ --volume ttmp32gme-data:/data \
104104 thawn/ttmp32gme:latest
105105```
106106
@@ -123,7 +123,7 @@ If you get "permission denied" errors when accessing volumes:
123123** For Podman** :
124124``` bash
125125# Add :Z flag for SELinux systems
126- podman run --volume /path/to/data:/var/lib/ttmp32gme :Z ...
126+ podman run --volume /path/to/data:/data :Z ...
127127```
128128
129129** For Docker** :
0 commit comments