Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flandredaisuki/docker-desktop-notify
notify-send in docker version
https://github.com/flandredaisuki/docker-desktop-notify
Last synced: 25 days ago
JSON representation
notify-send in docker version
- Host: GitHub
- URL: https://github.com/flandredaisuki/docker-desktop-notify
- Owner: FlandreDaisuki
- Created: 2024-05-18T17:26:13.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-18T17:28:53.000Z (6 months ago)
- Last Synced: 2024-05-18T18:31:42.837Z (6 months ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-desktop-notify
## setup
Build image:
```sh
docker build . -t docker-desktop-notify
```Run daemon:
```sh
docker run -d \
--name docker-desktop-notify \
-e DISPLAY="${DISPLAY}" \
-v /tmp/.X11-unix:/tmp/.X11-unix \
docker-desktop-notify
```Notify:
```sh
docker exec docker-desktop-notify notify-send "Hello" "$(whoami)"
```