Skip to content

Commit

Permalink
Changes: "src/content/second-brain/Lightweight
Browse files Browse the repository at this point in the history
  • Loading branch information
notbarze committed Oct 8, 2024
1 parent bddc861 commit 9caba4d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/content/second-brain/Lightweight Docker image for cURL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Lightweight Docker image for cURL
date: 2024-10-07
slug: lightweight-docker-image-for-curl
publish: true
filepath: src/content/second-brain/Lightweight Docker image for cURL.md
---

It's `curlimages/curl` which its compressed size is less than 10 MB.

I often get confused with Docker networks and hostnames, so to test I'm using this one-liner.

```shell
docker run -it --network=$NETWORK --rm curlimages/curl "$HOST:$PORT"
```

Replace variables with your network name, host, and port.

0 comments on commit 9caba4d

Please sign in to comment.