<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/nickjanetakis/best-of/2024" -->

---
title: Best Nick Janetakis posts of 2024 | daily.dev
description: The most upvoted Nick Janetakis posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/nickjanetakis/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/nickjanetakis/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best Nick Janetakis posts of 2024 | daily.dev
og:description: The most upvoted Nick Janetakis posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Nick Janetakis — 2024

1. 1  
[](/posts/creating-dynamic-variables-in-bash-o1brkrxl1 "Creating Dynamic Variables in Bash")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
2m read time • Jun 18, 2024  
### Creating Dynamic Variables in Bash  
Learn how to create dynamic variables in Bash using indirect expansion. This technique eliminates the need for if statements and reduces duplication of code for different environments.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/944ea17421f4c47cb9713b05cf4d758e?_a=AQAEuiZ)  
61  
1
2. 2  
[](/posts/docker-tip-99-prefer-using-compose-yaml-over-docker-compose-yml-nick-janetakis-oftdcemmv "Docker Tip #99: Prefer Using compose.yaml over docker-compose.yml — Nick Janetakis")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
1m read time • Aug 20, 2024  
### Docker Tip #99: Prefer Using compose.yaml over docker-compose.yml — Nick Janetakis  
The official Docker Compose specification now recommends using compose.yaml instead of docker-compose.yml. Although both file names are supported, Docker Compose looks for compose.yaml first. Support for compose.yaml was introduced in version 1.28.6 in March 2021, and is supported by all Docker Compose v2 versions. It's advised to update your Docker projects accordingly.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/0c1cd8ff8ca9bec9579a104d93d38098?_a=AQAEuiZ)  
43  
1
3. 3  
[](/posts/clear-vs-ctrl-l-in-your-shell-7yvfostqi "clear vs CTRL + L in Your Shell")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
2m read time • May 07, 2024  
### clear vs CTRL + L in Your Shell  
Learn about the difference between using clear and CTRL + L in the shell to clear the screen and buffer. CTRL + L clears the visible output while still allowing you to scroll up, while clear also clears the buffer. Watch the demo video to see it in action.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/5951ef9e008ea1ffc99d169cad2db826?_a=AQAEuiZ)  
41  
6
4. 4  
[](/posts/using-curl-to-create-a-telnet-connection-ulovkgftv "Using Curl to Create a Telnet Connection")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
4m read time • Jul 23, 2024  
### Using Curl to Create a Telnet Connection  
Learn how to use curl to create a telnet connection, which can be useful for testing TCP services in environments where telnet or specific CLI tools are unavailable. The guide includes examples of successful connections and troubleshooting failed ones, along with integration scenarios in Kubernetes and Docker Compose setups. An accompanying demo video provides further insights and practical demonstrations.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/89b691b8a9109ea276e8f634744e4364?_a=AQAEuiZ)  
37  
2
5. 5  
[](/posts/the-butterfly-effect-of-having-a-technical-blog-for-9-years-batmhgjn2 "The Butterfly Effect of Having a Technical Blog for 9+ Years")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
5m read time • Jun 11, 2024  
### The Butterfly Effect of Having a Technical Blog for 9+ Years  
The author reflects on their experience of having a technical blog for 9+ years and the butterfly effect it has had on their life, including opportunities such as traveling, meeting professionals, and working on various projects. They share that although they are not famous or monetizing their content, the personal satisfaction and ability to help others make it worth it.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/9ddede27f0ffd5a839409663ce0387c5?_a=AQAEuiZ)  
35
6. 6  
[](/posts/it-s-ok-to-sleep-rspamrde8 "It's OK to Sleep")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
5m read time • Apr 30, 2024  
### It's OK to Sleep  
Using 'sleep' in scripts and programs can be a reasonable choice to solve specific problems, such as adding a delay before running a script. It can help reduce human error and improve workflow efficiency.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/ce59578a6756512dbc66c794fc8431ab?_a=AQAEuiZ)  
25  
11
7. 7  
[](/posts/docker-tip-98-nested-variable-interpolation-with-docker-compose-v2-ulvzxvypa "Docker Tip #98: Nested Variable Interpolation with Docker Compose v2")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
1m read time • Jun 25, 2024  
### Docker Tip #98: Nested Variable Interpolation with Docker Compose v2  
Nested variable interpolation in Docker Compose v2 allows one environment variable to default to another variable's value, similar to shell behavior. This feature can simplify managing environment variables, although some caution is needed to avoid redundant default values.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/bb89086cabd535259a9ef9ae41fe3cce?_a=AQAEuiZ)  
20
8. 8  
[](/posts/debugging-a-container-error-when-it-produces-no-log-output-nick-janetakis-d6aglxq3i "Debugging a Container Error When It Produces No Log Output — Nick Janetakis")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
5m read time • Sep 17, 2024  
### Debugging a Container Error When It Produces No Log Output — Nick Janetakis  
This post explores the scenario where a web container fails to start in production with no log output, despite working fine in development and CI environments. The issue traces back to the ENTRYPOINT script and conditional logic in the script that runs differently in production versus development. The post emphasizes the importance of logging in scripts and aligning Docker Compose setups with production Kubernetes configurations.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d6f7eac54886393ad96de951b033f125?_a=AQAEuiZ)  
18
9. 9  
[](/posts/using-nginx-regex-capture-groups-to-redirect-url-paths-nick-janetakis-gdtb31fzh "Using NGINX Regex Capture Groups to Redirect URL Paths — Nick Janetakis")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
4m read time • Sep 24, 2024  
### Using NGINX Regex Capture Groups to Redirect URL Paths — Nick Janetakis  
This guide explores using NGINX regex capture groups to set up 301 URL redirects, ensuring old URLs still work as intended. It covers examples like changing URL paths and paginated URLs, and explains the syntax and usage of capture groups. Named capture groups are also introduced for better readability.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/bb4733df41c3c0fe27a92299bd464f39?_a=AQAEuiZ)  
17
10. 10  
[](/posts/build-multi-cpu-architecture-docker-images-with-buildx-ucmvxwnxt "Build Multi-CPU Architecture Docker Images with Buildx")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
8m read time • Feb 13, 2024  
### Build Multi-CPU Architecture Docker Images with Buildx  
Build multi-CPU architecture Docker images with Buildx without modifying your Dockerfile. Learn how to create a new builder in Buildx and build and inspect images with different CPU architectures. Also, find out how to push these multi-arch images to Docker Hub.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/dfeb84fab3fe4c8b0580d26351692c73?_a=AQAEufR)  
17
11. 11  
[](/posts/docker-tip-97-save-and-load-docker-images-from-a-zip-file-c0gbnnzuz "Docker Tip #97: Save and Load Docker Images from a Zip File")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
2m read time • Mar 12, 2024  
### Docker Tip #97: Save and Load Docker Images from a Zip File  
Learn how to save and load Docker images from a zip file, allowing for easy transfer and deployment without using a Docker Registry or building images directly on a server.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/bb89086cabd535259a9ef9ae41fe3cce?_a=AQAEufR)  
16
12. 12  
[](/posts/mount-secure-build-time-secrets-with-docker-and-docker-compose-p890uu1px "Mount Secure Build-Time Secrets with Docker and Docker Compose")  
[![nickjanetakis's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/05b22e1c43b541059edfaba1ccc944e6)](/sources/[source]/best-of/[year])  
9m read time • May 21, 2024  
### Mount Secure Build-Time Secrets with Docker and Docker Compose  
Learn how to securely mount build-time secrets in Docker and Docker Compose. Avoid leaking secrets in Docker images and protect your private packages. Use Docker secrets to access environment variables and mount files securely.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/98326c8796330e129fcaa530939e3490?_a=AQAEuiZ)  
14

[See all Nick Janetakis archives](/sources/nickjanetakis/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/nickjanetakis/best-of/2024#page","url":"https://daily.dev/sources/nickjanetakis/best-of/2024","name":"Best Nick Janetakis Posts of 2024","description":"The most upvoted Nick Janetakis posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/nickjanetakis/best-of/2024#items","numberOfItems":12,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/creating-dynamic-variables-in-bash-o1brkrxl1","name":"Creating Dynamic Variables in Bash"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/docker-tip-99-prefer-using-compose-yaml-over-docker-compose-yml-nick-janetakis-oftdcemmv","name":"Docker Tip #99: Prefer Using compose.yaml over docker-compose.yml — Nick Janetakis"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/clear-vs-ctrl-l-in-your-shell-7yvfostqi","name":"clear vs CTRL + L in Your Shell"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/using-curl-to-create-a-telnet-connection-ulovkgftv","name":"Using Curl to Create a Telnet Connection"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/the-butterfly-effect-of-having-a-technical-blog-for-9-years-batmhgjn2","name":"The Butterfly Effect of Having a Technical Blog for 9+ Years"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/it-s-ok-to-sleep-rspamrde8","name":"It's OK to Sleep"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/docker-tip-98-nested-variable-interpolation-with-docker-compose-v2-ulvzxvypa","name":"Docker Tip #98: Nested Variable Interpolation with Docker Compose v2"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/debugging-a-container-error-when-it-produces-no-log-output-nick-janetakis-d6aglxq3i","name":"Debugging a Container Error When It Produces No Log Output — Nick Janetakis"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/using-nginx-regex-capture-groups-to-redirect-url-paths-nick-janetakis-gdtb31fzh","name":"Using NGINX Regex Capture Groups to Redirect URL Paths — Nick Janetakis"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/build-multi-cpu-architecture-docker-images-with-buildx-ucmvxwnxt","name":"Build Multi-CPU Architecture Docker Images with Buildx"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/docker-tip-97-save-and-load-docker-images-from-a-zip-file-c0gbnnzuz","name":"Docker Tip #97: Save and Load Docker Images from a Zip File"},{"@type":"ListItem","position":12,"url":"https://daily.dev/posts/mount-secure-build-time-secrets-with-docker-and-docker-compose-p890uu1px","name":"Mount Secure Build-Time Secrets with Docker and Docker Compose"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Nick Janetakis","item":"https://daily.dev/sources/nickjanetakis"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/nickjanetakis/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

