Introduction Docker has revolutionized the way we develop, package, and deploy applications. It provides a consistent environment for applications to run, from development to production, reducing the “it works on my machine” problem. One of the most powerful features Docker has introduced is multi-stage builds. This feature helps us create lean, efficient containers without the…
Tag: devops
Take your GitLab backup everyday if it works in Docker
I’m using GitLab in docker (because I love containerization) and I’m really okay with that because I can move the GitLab environment everywhere if I need and I can feel more elastic when I’m using docker. GitLab backups are really so important because you are keeping all of the source code and maybe wiki maybe…
Enable Logrotation for Docker Containers
When you install and use Docker on your system, the container running in the docker can generate a large number of logs while you are not aware of the background. Although the Docker service normally supports logrotate, this support comes off by default. If one day your disk ends suddenly, then you will know exactly…