GitXplorerGitXplorer
c

docker-httpie

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
d7a74d2df46f1d519a827ff1b35efc46f8ac9d1d

Bump docker/setup-qemu-action from 2 to 3 (#42)

ddependabot[bot] committed a year ago
Verified
ec78fbbe61602cf32d78a6f92231e274daad32af

Bump docker/build-push-action from 4 to 5 (#41)

ddependabot[bot] committed a year ago
Verified
8a2820a29af89617cb6464be11f74f1fafdc9a26

Bump actions/checkout from 3 to 4 (#40)

ddependabot[bot] committed a year ago
Verified
3b68c042f39db70dc5271cecbf6e38d8a5fa8f91

Add arm64 (#39)

cchorrell committed 2 years ago
Verified
b8df0d28085084654ffdcd3fd7f39d4d40399be5

Bump actions/stale from 7 to 8 (#38)

ddependabot[bot] committed 2 years ago
Verified
92bbabc6e252e894e389477241a3326db5459114

Bump docker/build-push-action from 3 to 4 (#37)

ddependabot[bot] committed 2 years 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'