This tutorial outlines how to write a dependable #Dockerfile for #PHP applications and provides ten best practices that maximize performance, security, reliability, and ease of development.
You'll want to bookmark this one! 🔖
5 Benefits of a Container-First Approach to Software Development
#Docker #Products #Containers #Developers #Dockerfile #SecureSoftwareSupplyChain
https://www.docker.com/blog/5-benefits-of-a-container-first-approach-to-software-development/
#docker #products #containers #developers #dockerfile #securesoftwaresupplychain
📯If #Dockerfile and #HCL had baby that would be #dockerbake🐣
I'm still learning new things about @Docker bake like `functions`✨
bake provides lots of useful functions for you to use to solve complex scenarios💫
You can find examples of how to use them @tonistiigi xx project↙️
L'#alien 👽 sta prendendo forma...
Aggiunta la sezione #Laravista #Dockerfile
https://github.com/rognoni/catlink#laravista-dockerfile
Some really good insights on
"Best practices when writing a #Dockerfile for a #Ruby application"
by @helloflorin
Including secrets, multi stage build for different environments and many more
Loud meowing about #Dockerfile (#Docker #Podman ) quality and #arm adventures: https://notes.midnightthoughts.space/digitalgarden/blog/writing-good-dockerfiles-in-2023/
#dockerfile #docker #podman #arm
https://dev.to/aernesto24/you-may-want-to-consider-this-when-using-docker-images-and-dockerfiles-starting-point-51ag - #Dockerfile best practices. Great if you're just getting started with #Containers. Nice post https://github.com/aernesto24.
https://www.howtogeek.com/devops/whats-the-difference-between-exposing-and-publishing-a-docker-port/ - #Dockerfile expose port adds metadata, #docker run -p publishes the port so you can use it. Great clarification https://www.linkedin.com/in/jh-walker/.
I'm having issues with volume permission in #Docker. I have a #Dockerfile that's setup to run the container as a different user (since that's advised because of security reasons). Now I want to mount a local volume where I need write access to, but it's mounted as root instead.
Can't really find anything online without running commands in an entryscript or something to change permissions, which seems like a horrible solution to me?
It's frustrating to maintain an autogpt instance when the paths in the dockerfile keep changing. It's important to keep the paths up to date, but it's also time-consuming and can be a source of frustration. #autogpt #dockerfile #maintenance
#maintenance #dockerfile #autogpt
https://dev.to/mtk3d/read-this-before-you-start-using-the-multistage-builds-for-your-docker-images-21e7 - the benefits of #Dockerfile multi-stage builds, and how to build specific stages, examples in #PHP. Nice article https://github.com/mtk3d.
Kennt ihr das?
Da will man mit der Zeit gehen und sein #Python :language_python: #Django Projekt in einen #Docker :docker: Container werfen, schaut unzählige #Youtube Anleitungen, erstellt eins-zu-eins #Dockerfile und #docker-compose .yml-Datei, führt die gleichen Befehle aus .... und es klappt einfach nie so wie in den Videos! 😔
Do you know that situation? A step-by-step instruction from a youtube-video never works well on the own PC. 😔
#linux #dockerfile #youtube #docker #django #python
https://dev.to/uche_nkadi/the-newest-docker-vs-code-extension-feature-youre-not-using-68n - #Dockerfile intellisense and validation in #VSCode is amazing. Great intro article https://github.com/ucheNkadiCode.
Un petit outil fraichement découvert autour d'un moteur permutation de noms de domaine pour détecter les attaques de phishing par homographe, le typo squatting et l'usurpation d'identité de marque:
Outil: DNStwist ==> https://lnkd.in/exUwvpRP
Langages: #python #html #dockerfile
#dns #osint #cybersecurity #cybersec #infosec #phishing #typosquatting
#python #html #dockerfile #dns #osint #cybersecurity #cybersec #infosec #Phishing #Typosquatting
https://shantanoo-desai.github.io/posts/technology/seeding-mongodb-docker-compose/ - using #Docker-compose and ARGS to pass env vars from `.env` to the #Dockerfile running app. Nice post https://github.com/sonyarianto.
I think I'll put the #docker #healthcheck for my #unbound #image into the #compose file instead of the #dockerfile. It's more user friendly, imho.
#docker #healthcheck #unbound #image #compose #dockerfile
How To Deploy Django Using Docker Compose On Windows In 9 Steps 💻
https://medium.com/powered-by-django/deploy-django-using-docker-compose-windows-3068f2d981c4
#django #python #docker #dockerfile #beginners #windows #dockeronwindows #saas #foss #opensource
#django #python #docker #dockerfile #beginners #windows #dockeronwindows #saas #foss #opensource
I have a #Dockerfile with a bug. I just paste the contents of the dockerfile and describe the expected behaviour, and chatGPT helps me fix it.
If a suggestion does not work, I can tell gpt what is happening, and it will adapt.
Even more important: if I don't understand a solution, I can ask: hey, why is that part such and so? Can you explain how that works? And can you explain the difference between these two #docker terms? In depth?
Tu es jeune, ou plus âgé,
Tu te dis que ça serait sympa d'utiliser plus souvent #Docker et notamment les #Dockerfile ?
Tu te dis que tu as bien fait de passer par le parc, et que l'Europe c'est quelque chose de très concret.
Tu as déjà fait un docker run hello-world et un premier Dockerfile et #docker-compose ...
Mais tu te dis que c'est très compliqué et qu'il y a plein de manières de faire la même chose ?
Arrête tout, et lis ça : https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
Why have I been writing
```
RUN cmd & \
cmd & \
cmd
```
when I could write
```
RUN ./install_001_debian.sh
RUN ./install_002_fish.sh
RUN ./install_003_pipx.sh
```
Only thing worse than bash wrapped in Dockerfile DSL is Bash wrapped in yaml.