Docker Swarm tips - Links
I gathered some links that helped me to enhance my knowledge to carry out docker to production.
Also, it is important to read ssh tips.
Cheatsheets
General (docker, swarm and machine)
- https://docs.docker.com/compose/
- docker swarm services, contraints
- https://docs.docker.com/registry/recipes/nginx/
- docker-swarm, deploying a spring boot microservices on aws
- docker-swarm rocks: my excuse for using docker and swarm!
- docker-swarm: aws, ec2 and docker-machine (Berk Gokden’s blog)
- Best Link (in spanish): gitlab for ci/cd, docker-machine for infrastructure (I’ve just used generic driver), and docker-swarm
Cron and background jobs
- https://medium.com/@oprearocks/how-to-properly-override-the-entrypoint-using-docker-run-2e081e5feb9d for running scripts! (such backups)
- https://help.ubuntu.com/community/CronHowto
- http://somebooks.es/programar-una-tarea-repetitiva-en-ubuntu-server-20-04-lts/
- https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-ubuntu-1804-es
- https://dev.to/shuaib/setting-up-cron-jobs-to-run-bash-scripts-n5n
- https://unix.stackexchange.com/questions/27289/how-can-i-run-a-cron-command-with-existing-environmental-variables