Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
okigan authored Dec 8, 2021
1 parent c260c22 commit ea2a9b1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,20 @@ automates the process of signing and allows to make requests to AWS as simple as

#### Running via Docker
```sh
$ docker pull okigan/awscurl

$ docker pull okigan/awscurl # or via docker pull ghcr.io/okigan/awscurl
```
or via Github docker registry
```sh
$ docker pull ghcr.io/okigan/awscurl
```
then
```sh
$ docker run --rm -it okigan/awscurl --access_key ACCESS_KEY --secret_key SECRET_KEY --service s3 s3://...

# or allow access to local credentials as following
$ docker run --rm -it -v "$HOME/.aws:/root/.aws" okigan/awscurl --service s3 s3://...
```
In order to shorten the length of docker commands, you can add the following alias:
To shorten the length of docker commands use the following alias:

```
$ alias awscurl='docker run --rm -ti -v "$HOME/.aws:/root/.aws" -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SECURITY_TOKEN -e AWS_PROFILE okigan/awscurl'
Expand Down

0 comments on commit ea2a9b1

Please sign in to comment.