7.3. Deploy your plugin on a cluster
You can deploy the plugin to an OpenShift Container Platform cluster.
7.3.1. Build an image with Docker 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
To deploy your plugin on a cluster, you need to build an image and push it to an image registry first.
Procedure
Build the image with the following command:
$ docker build -t quay.io/my-repositroy/my-plugin:latest .Optional: If you want to test your image, run the following command:
$ docker run -it --rm -d -p 9001:80 quay.io/my-repository/my-plugin:latestPush the image by running the following command:
$ docker push quay.io/my-repository/my-plugin:latest