Skip to main content

Basic Docker Image Management Pointers

Stuff for future Jason to take note, when he tries to redo his Huginn instance …
I wanted a quick and easy way to install it, without messing up my base system much, so I chose the Docker route.
Now, I don’t know the A or D of Docker, so these quick notes for me to remember in the future.

  1. I need to install Docker rootless, and bring it up as a systemd service.
  2. If I want persistent data, I should create a Docker volume.
  3. Create an env file to hold all the secrets that I want to pass to the container
  4. I need to run and create my huggins instance first, give it a name, pass the env file and also remembering to mount the volume at the place I need
  5. I can then start and stop the image with the name I assigned it.
  6. I need to then tag the image with a policy to restart automatically
  7. So everytime Docker comes up, it will start the container automatically.


P.S. Subscribe to my mailing list!
Forward these posts and letters to your friends and get them to subscribe!
P.P.S. Feed my insatiable reading habit.