September 13, 20205 yr Hi! I need to execute a few commands while starting a container. apk add py3-chardet && \ apk add py3-pip && \ pip uninstall -y apprise && \ pip install apprise does any1 know what i have to do? thx in advance! b0mb
September 13, 20205 yr Start it via a user script docker start nameOfContainer docker exec nameOfContainer /config/nameOfScript and then the script you need to run goes into it's appdata (/config) folder
September 13, 20205 yr Author the problem is that most of my docker containers are set to auto update and so the best solution would be that such a script would run after restarting the container
September 13, 20205 yr Then in the Post Arguments when editing the template (advanced view), add in && docker exec nameOfContainer /config/nameOfScript
Archived
This topic is now archived and is closed to further replies.