GitXplorerGitXplorer
c

docker-httpie

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
18ecd1dea7a16c20df079297c1f9c18b5cd69447

Bump docker/build-push-action from 5 to 6 (#48)

ddependabot[bot] committed 7 months ago
Verified
f5395ae14ace6a5887b3590f38cb6d9804c543f3

Add SBOM and provenance (#47)

cchorrell committed a year ago
Verified
827d409ff99e038ba36edda3f1ee3cd053f37329

Bump actions/stale from 8 to 9 (#46)

ddependabot[bot] committed a year ago
Verified
00a020ffe1c482dda045189b5d7cd3c7d442ed9c

Bump docker/setup-buildx-action from 2 to 3 (#45)

ddependabot[bot] committed a year ago
Verified
282064e7c708df6ac0a4f03460f3b9efbd24b4af

Bump docker/metadata-action from 4 to 5 (#44)

ddependabot[bot] committed a year ago
Verified
49f3639db45508a327782e43f7f337d48a31d895

Bump docker/login-action from 2 to 3 (#43)

ddependabot[bot] committed a year ago

README

The README file for this repository.

docker-http

Docker

A docker image for httpie

Usage with Docker run

Use this Docker image from the command line in the same way you would with httpie.

First build the image:

docker build -t http .

Now use the image to call http with docker run -it --rm http:

Run http without arguments:

docker run -it --rm http

Usage:

docker run -it --rm http --help

Version info:

docker run -it --rm http --version

Inspect headers:

docker run -it --rm http --headers https://horrell.ca

Make it easier with an alias

Add this to your .bashrc or .zshrc file:

alias http='docker run -i --rm http'

Using the Docker Hub image

The lateset version of this image is published to the Docker Hub. You can use it like this:

docker pull chorrell/http:latest

docker run -i --rm chorrell/http:latest

And setup an alias like this:

alias http='docker run -i --rm ghcr.io/chorrell/http:latest'

Using the GitHub Container Registry image

The lateset version of this image is published to the GitHub Container Registry. You can use it like this:

docker pull ghcr.io/chorrell/http:latest

docker run -i --rm ghcr.io/chorrell/http:latest

And setup an alias like this:

alias http='docker run -i --rm ghcr.io/chorrell/http:latest'