While installing docker, I decided I needed to write some notifications to ensure the configuration works. See Docker. I started with a TCL/TK script, which these days looks a bit old school, and writing the packer was (& remains) difficult. Virtualbox reports its status on Ubuntu via a very pretty interface, prettier than Apple script anyway, so I thought I’d have a lock.

The command is notify-send. This is part of the desktop, obviously not needed if running headless.

  1. – the man page
  2. – some examples
  3. – an ubuntu forums thread with some tips

It comes with some standard icons, somewhere in the /usr/share/icons directories, allegedly, I made myself a docker icon, .png 32×32 to decorate the message.


I found it on google, and replaced the white background with transparency. It’s not ideal, maybe I should find something better. Here’s a screen shot,


$ notify-send -i ${icon file, path and basename} "Docker Daemon" \
        "docker daemon is running"

I plan to put this in my .profile

Related Posts

  • Ubuntu 13.10 I am installing this on the Mac under Virtual Box. This snip is about Ubuntu. The […]
  • Installing I have had to do an install of a couple of times now and decided to write a […]
  • System V init scripts I really like Ubuntu's system V initialisation scripts and features. This is now based […]
  • Docker About Docker, looks awesome. Easy to create bootable, runnable images, easy to deploy […]
  • Ubuntu 14, add user visible I screwed up the installation of a U14 Gnome installation and the user was not prompted […]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.