Skip to content

Commit

Permalink
docker runs now natively on arm
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed Feb 22, 2024
1 parent 5e6cd4e commit d2661f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ pipx install datacontract-cli
### Docker

```bash
docker pull --platform linux/amd64 datacontract/cli
docker run --rm --platform linux/amd64 -v ${PWD}:/home/datacontract datacontract/cli
docker pull datacontract/cli
docker run --rm -v ${PWD}:/home/datacontract datacontract/cli
```

Or via an alias that automatically uses the latest version:

```bash
alias datacontract='docker run --rm -v "${PWD}:/home/datacontract" --platform linux/amd64 datacontract/cli:latest'
alias datacontract='docker run --rm -v "${PWD}:/home/datacontract" datacontract/cli:latest'
```

## Documentation
Expand Down

0 comments on commit d2661f6

Please sign in to comment.