

Well, someone needs to run docker compose up
, right? (or you set restart policy, but that’s not always possible)
Well, someone needs to run docker compose up
, right? (or you set restart policy, but that’s not always possible)
systemd has nothing to do with docker, except to start the docker daemon.
I think what OP was describing was writing systemd unit files that would start/stop docker containers.
one way to achieve this would be to push all sources over to the Raspberry Pi, build the docker image on the Raspberry Pi, give the docker image a ‘latest’ tag and use Systemd with Docker or Podman to execute the image.
I do it almost exactly like this, except instead of systemd I just start containers with --restart unless-stopped
.
I’m also looking at improving the current setup, but haven’t really made any progress. I’m thinking of setting up a GitOps type workflow, e.g. as described here: https://medium.com/linux-shots/gitops-on-docker-using-portainer-8712ba7d38c9 (disclaimer: I haven’t tried these instructions myself)
I learned as an adult by reading a website with instructions and practicing until I could remember and understand what’s going on.
My favourite to solve is a “mirror cube”. It has blocks of the same colour, but they have unequal lenghts of sides, and I’ve learned to solve it without looking.
came here to write this comment
echo 1 > /proc/sys/kernel/sysrq && echo c > /proc/sysrq-trigger
For the moment he had shut his ears to the remoter noises and was listening to the stuff that streamed out of the telescreen. It appeared that there had even been demonstrations to thank Big Brother for raising the chocolate ration to twenty grammes a week. And only yesterday, he reflected, it had been announced that the ration was to be reduced to twenty grammes a week. Was it possible that they could swallow that, after only twenty-four hours? Yes, they swallowed it.
I actually have no sense how common that is. My experience is with very small non-production docker environments, and with Kubernetes, but I have no idea what people typically do in between.