New Post: How to Validate a Docker Compose YAML File
Eugen Paraschiv’s Post
More Relevant Posts
-
New Post: How to Validate a Docker Compose YAML File
How to Validate a Docker Compose YAML File | Baeldung on Ops
baeldung.com
To view or add a comment, sign in
-
Take a look on "crane". You can use it to promote artifacts throughout your CI pipeline, even if it's running on top of Kubernetes (without DinD). There are plenty of parameters, but I'm using mostly for image retagging 😁
GitHub - google/go-containerregistry: Go library and CLIs for working with container registries
github.com
To view or add a comment, sign in
-
Reducing Docker image size by 40% - case study. The author decided to dockerise his project, which was a shell script with numerous dependencies. Interestingly, this was the first application he optimised in terms of image size for the Docker Hub. The experiments he performed and the conclusions he drew from this task are interestingly described.
How I reduced the size of my very first published docker image by 40% - A lesson in dockerizing shell scripts
bhupesh.me
To view or add a comment, sign in
-
Dockerfile Instructions: - FROM: Sets the base image. - RUN: Executes commands in the container. - MAINTAINER: Identifies the image creator. - LABEL: Adds metadata. - ADD: Copies files (supports URLs). - COPY: Copies files (no URLs). - VOLUME: Creates a shared mount point. - EXPOSE: Specifies listening port. - WORKDIR: Sets the working directory. - USER: Defines the user for processes. - STOPSIGNAL: Specifies stop signal. - ENTRYPOINT: Sets the start command. - CMD: Sets the default command. - ENV: Sets environment variables. Docker Run Commands: - --name: Names the container. - -v, -volume: Mounts a volume. ---network: Connects to a network. --d, --detach: Runs in background. - -i, --interactive: Keeps STDIN open. --t, --tty: Allocates a pseudo-TTY. ---rm: Auto-removes container on exit. - -e, --env: Sets environment variables. ---restart: Sets restart policy. Core Docker Concepts: - Docker Image: Read-only snapshot of a container. - Docker Container: Executable package with software and dependencies. - Docker Client: Tool to interact with Docker. - Docker Daemon: Service managing Docker objects. - Docker Registry: Storage for Docker image. credit by -Satyender Sharma 𝑱𝒐𝒊𝒏 𝑶𝒖𝒓 𝑻𝒆𝒄𝒉 𝑪𝒐𝒎𝒎𝒖𝒏𝒊𝒕𝒚 -> 𝑮𝒖𝒊𝒅𝒆 𝑶𝒕𝒉𝒆𝒓’𝒔 -> 𝑾𝒊𝒏 𝑬𝒙𝒄𝒊𝒕𝒊𝒏𝒈 𝑹𝒆𝒘𝒂𝒓𝒅𝒔 -> https://lnkd.in/gj-tfEyH 𝐃𝐞𝐯𝐎𝐩𝐬 𝐅𝐑𝐄𝐄 𝐖𝐞𝐛𝐢𝐧𝐚𝐫 & 𝐑𝐞𝐬𝐨𝐮𝐫𝐜𝐞𝐬 https://lnkd.in/gXqEp66e #docker #images #container #containerization
To view or add a comment, sign in
-
Hello! Here I share another post from my personal IaaC project. Configuring and using Jenkins using Kubernetes as an Agent. This post is complementary to the last ones on the topic. Shows some details on how to use Pod templates in manifest files in GitLab, how Shared Libraries work in POD containers, etc. Jenkins – Shared Libraries, Containers and Manifests. https://lnkd.in/dpPnSzTM
Jenkins – Shared Libraries, Containers and Manifests.
https://devops-db.com
To view or add a comment, sign in
-
Init a great time for yet another Docker release? 😉 *Docker Init eliminates the manual task of writing Dockerfiles and other configuration files, saving time and minimizing errors using templates to customize the Docker setup based on your application type while following the industry’s best practices* Read more about it here ⬇ https://lnkd.in/dxKVdemX
Stop writing Dockerfiles today — Do this instead
medium.com
To view or add a comment, sign in
-
Get Started with the Latest Updates for Dockerfile Syntax
Get Started with the Latest Updates for Dockerfile Syntax (v1.7.0)
https://www.docker.com
To view or add a comment, sign in
-
Hello All, I refreshed my knowledge on Kubernetes configMap and secrets and volumemount, and here are the topics I learned today. 1. What is a Kubernetes ConfigMap ? 2. What is a Kubernetes Secret ? 3. Difference between ConfigMap & Secret ? 4. How to use ConfigMap data as ENV Vars inside a Django Python Container ? 5. How to use Configmap data as Volume Mount file inside a Django Python container App ? 6. What are the advantages of using a Volume Mount over Env var for reading ConfigMap in Kubernetes ? 7. Interview Questions related to Secrets in Kubernetes ? Below is the link for today examples. GitHub : https://lnkd.in/eRDaKDiF Added and modified these files: 1.cm.yml, deployment.yml(It's having env and volumes configuration) Output should be like below kubectl describe cm Data ==== db-port: ---- 5556 BinaryData ==== Events: <none> himu@Abhis-Air python-web-app % kubectl exec -it python-web-app-9f9958dc-2dgj8 -- /bin/bash root@python-web-app-9f9958dc-2dgj8:/app# cat /opt/db-port 5556 Again thanks for Abhishek Veeramalla sharing this valuable concept. Please go through this video if you want more details on Kubernetes ingress https://lnkd.in/eyhd47F3 #kubernetes #devops #upgradingskills #modules #interviewpreparation
GitHub - mabhidevops/kubernetes: kubernetes examples
github.com
To view or add a comment, sign in
-
How to setup Ollama with Ollama-WebUI using Docker Compose
How to setup Ollama with Ollama-WebUI using Docker Compose
https://collabnix.com
To view or add a comment, sign in
Made of Star stuff... Ad astra ✨✨✨
2moSo instructive!