Sign inSign up

rdvde/telegram

By rdvde

Updated 6 months ago

Image
0

2.6K

rdvde/telegram repository overview

1.运行容器

docker run -it --rm \
	-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
	-e PULSE_SERVER=unix:$XDG_RUNTIME_DIR/pulse/native \
	-v $XDG_RUNTIME_DIR/pulse:$XDG_RUNTIME_DIR/pulse:ro \
	-v /etc/localtime:/etc/localtime:ro \
	-e DISPLAY=unix$DISPLAY \
	-e XAUTHORITY=/tmp/xauth \
	-e DISPLAY=$DISPLAY \
	--device /dev/snd \
	-v /dev/shm:/dev/shm:ro \
	-v $XAUTHORITY:/tmp/xauth:ro \
	-v $HOME/telegram:/home/user/.local/share/TelegramDesktop \
	-v $HOME/Downloads:/home/user/Downloads \
	-v /usr/share/fonts:/usr/share/fonts:ro \
	-v $HOME/.local/share/fcitx5:/root/.local/share/fcitx5:ro \
	-v $HOME/.config/fcitx5:/root/.config/fcitx5:ro \
	-e PUID=$UID -e PGID=$GID \
	--name telegram \
	rdvde/telegram

Tag summary

Content type

Image

Digest

sha256:29bd5fecb

Size

423.5 MB

Last updated

6 months ago

docker pull rdvde/telegram