https://github.com/hugojosefson/docker-signal-desktop
Runs Signal Desktop, inside Docker.
https://github.com/hugojosefson/docker-signal-desktop
desktop docker docker-image gui hacktoberfest signal
Last synced: about 2 months ago
JSON representation
Runs Signal Desktop, inside Docker.
- Host: GitHub
- URL: https://github.com/hugojosefson/docker-signal-desktop
- Owner: hugojosefson
- Created: 2021-05-23T11:26:38.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-23T11:26:48.000Z (about 5 years ago)
- Last Synced: 2025-03-26T15:55:15.934Z (over 1 year ago)
- Topics: desktop, docker, docker-image, gui, hacktoberfest, signal
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker image hugojosefson/signal-desktop
Runs Signal Desktop, inside Docker.
## Usage
This docker image must be started as `root`, so don't use `docker
run --user=...`. Instead, pass environment variables `USER_NAME`,
`USER_ID`, `GROUP_NAME`, `GROUP_ID` (and optionally `HOME`) for the
user you want to become.
Example which gives Signal Desktop access to the current directory, but
not your actual `HOME` on your host.
```bash
# Create a new temp directory to hold the user HOME inside the container
SIGNAL_DESKTOP_HOME=$(mktemp -d) # (or use another specific directory)
# Run Signal Desktop using in the current directory, as yourself, with config
# saved in the new HOME
docker run --rm -it \
--env USER_ID="$(id -u)" \
--env USER_NAME="$(id -un)" \
--env GROUP_ID="$(id -g)" \
--env GROUP_NAME="$(id -gn)" \
--env HOME="${HOME}" \
--volume "${SIGNAL_DESKTOP_HOME}":"${HOME}" \
--volume /tmp/.X11-unix:/tmp/.X11-unix \
--env DISPLAY="unix${DISPLAY}" \
--volume "$(pwd)":"$(pwd)" \
--workdir "$(pwd)" \
hugojosefson/signal-desktop
```
## License
MIT