Docker containers: how to install other components

I have just figured out how to install HA in a Docker container on top of a Ubuntu 16.04 VM. I think I like Docker (still new to it), but am now looking to truly simplify my full HA system.

How do I find/install other components with Docker? For example, there is an MQTT (mosquito) Docker for Hass.io. Is there any way I can use this container on my system?

Go look at the docker hub. You will find thousands of docker images to play with.

Check the addons:

Edit: Sorry, I didn’t read the posting properly.

Except he is using normal docker…and not hassio.

That’s what I was wondering… is it possible to use any of the Hass.io add-ons if you’ve installed HA from Docker. Looks like you can’t, so will explore the Docker hub as per flamingm0e.

Docker (and if you’re really nerdy - Kubernetes) is a great way to deploy Home Assistant and related services. There are tons of ready made Docker containers out there for almost every purpose, but here’s a few tips.

  • Check to see if the project has an “official” Docker container. These will likely be the best quality, the most up to date, and the most ready for the general user. If there’s no official container, check each project’s community to see if there’s a container is the de-facto standard. Other containers may not be kept up to date or may be set up to suit a particular need that won’t work in your situation.

  • Learn to read Dockerfiles. Even if there’s documentation provided on how to use/configure the container, it’s always a good idea to take a look at the Dockerfile to understand exactly what’s going on.

  • Once you’ve read a few Dockerfiles, write some of your own! It’s not as hard as you think, plus you end up with a container that will meet your needs better.