I installed docker snap and ufw snap. I would like to run “docker-compose up” and “ufw allow 443” when the system starts.
Based on what I understand, I need to create a snap and make a daemon app inside it. So that it can be started when system starts.
However, the commands (docker-compose and ufw) are not available inside the new created snap.
Is there any way to get commands installed by snap run when system starts?
Thanks in advance.