Skip to navigation
How to start a script after a docker container get started
04.04.20
can can use entry-point: the script /optsetup.sh will run after the container get created example: COPY setup.sh /opt/ CMD ["/usr/bin/supervisord"] ENTRYPOINT ["/opt/setup.sh"]
https://phoenixnap.com/kb/docker-cmd-vs-entrypoint
Reply
Anonymous
Information Epoch 1714071229
Design for visibility.
Home
Notebook
Contact us