Sign inSign up

boonen/operator-sdk

By boonen

Updated over 6 years ago

Run the Kubernetes Operator SDK using Docker

Image
0

231

boonen/operator-sdk repository overview

operator-sdk

Run the Kubernetes Operator SDK using Docker. This is especially useful in environments where installing the binaries is not an option (e.g. in CI/CD pipelines). The latest version of this image will be the latest release of the Operator SDK.

Usage

Before you start, you must have a Docker daemon running on the host machine. You can check this by using the command docker version. In order to build a custom operator using the operator-sdk binary, use the following command:

docker run --rm -v ${PWD}:/source -v /var/run/docker.sock:/var/run/docker.sock --privileged boonen/operator-sdk:latest build operator-image:operator-version

This command will mount the current working directory in /source and build the operator based on the source code in the working directory.

Tag summary

Content type

Image

Digest

Size

94.6 MB

Last updated

over 6 years ago

docker pull boonen/operator-sdk