Skip to content

Commit

Permalink
Add instructions to run multiarch images
Browse files Browse the repository at this point in the history
  • Loading branch information
IsuruMaduranga committed Apr 3, 2022
1 parent e9941c1 commit b1acf7a
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dockerfiles/centos/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ docker buildx build --platform linux/amd64,linux/arm64 -t <DOCKER_USERNAME>/wso2
> - Use command "docker buildx ls" to see list of existing builders and supported platforms.
> - Please note we have only tested this for linux/amd64 and linux/arm64 platforms only
#### 5. Run
```
docker run -it -p 9443:9443 -p 8243:8243 <DOCKER_USERNAME>/wso2am:4.1.0-centos-multiarch
```
> Docker will pull the suitable image for the architecture and run
## Docker command usage references

* [Docker build command reference](https://docs.docker.com/engine/reference/commandline/build/)
Expand Down
6 changes: 6 additions & 0 deletions dockerfiles/jdk8/centos/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ docker buildx build --platform linux/amd64,linux/arm64 -t <DOCKER_USERNAME>/wso2
> - Use command "docker buildx ls" to see list of existing builders and supported platforms.
> - Please note we have only tested this for linux/amd64 and linux/arm64 platforms only
#### 5. Run
```
docker run -it -p 9443:9443 -p 8243:8243 <DOCKER_USERNAME>/wso2am:4.1.0-centos-jdk8-multiarch
```
> Docker will pull the suitable image for the architecture and run
## Docker command usage references

* [Docker build command reference](https://docs.docker.com/engine/reference/commandline/build/)
Expand Down
6 changes: 6 additions & 0 deletions dockerfiles/jdk8/ubuntu/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ docker buildx build --platform linux/amd64,linux/arm64 -t <DOCKER_USERNAME>/wso2
> - Use command "docker buildx ls" to see list of existing builders and supported platforms.
> - Please note we have only tested this for linux/amd64 and linux/arm64 platforms only
#### 5. Run
```
docker run -it -p 9443:9443 -p 8243:8243 <DOCKER_USERNAME>/wso2am:4.1.0-jdk8-multiarch
```
> Docker will pull the suitable image for the architecture and run
## Docker command usage references

* [Docker build command reference](https://docs.docker.com/engine/reference/commandline/build/)
Expand Down
6 changes: 6 additions & 0 deletions dockerfiles/ubuntu/apim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ docker buildx build --platform linux/amd64,linux/arm64 -t <DOCKER_USERNAME>/wso2
> - Use command "docker buildx ls" to see list of existing builders and supported platforms.
> - Please note we have only tested this for linux/amd64 and linux/arm64 platforms only
#### 5. Run
```
docker run -it -p 9443:9443 -p 8243:8243 <DOCKER_USERNAME>/wso2am:4.1.0-multiarch
```
> Docker will pull the suitable image for the architecture and run
## Running official wso2am images
It is possible to use official wso2am images without building them from the scratch.

Expand Down

0 comments on commit b1acf7a

Please sign in to comment.