An open API service indexing awesome lists of open source software.

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.

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