29 lines
819 B
Markdown
29 lines
819 B
Markdown
## I hate the future
|
|
|
|
|
|
### Please dont use docker, use podman instead
|
|
reason is that if you saved a file from telegram to your host, it will be saved as root user and your user cannot delete it
|
|
and podman runs as your user, so thats not an issue.
|
|
|
|
|
|
save this as `docker-compose.yml`
|
|
```yml
|
|
version: '3.5'
|
|
services:
|
|
64gram:
|
|
hostname: 64gram
|
|
image: git.shihaam.dev/dockerfiles/64gram
|
|
environment:
|
|
- DISPLAY
|
|
volumes:
|
|
- $HOME/.local/share/64Gram:/root/.local/share/64Gram
|
|
- $HOME/Downloads:/root/Downloads
|
|
- $HOME/Pictures:/root/Pictures
|
|
- $HOME/Documents:/root/Documents
|
|
- /usr/share/icons:/usr/share/icons
|
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
|
```
|
|
and run `podman-compose up -d` or if you wanna live dangerously then you may..: `docker compose up -d`
|
|
|
|
k, thanks, bye
|