Sign inSign up

figaw/operator-sdk

By figaw

•Updated over 7 years ago

Containerized version of https://github.com/operator-framework/operator-sdk provided as is.

Image
0

444

figaw/operator-sdk repository overview

⁠Operator SDK in Docker

A Docker Image to run the CoreOS Operator-Framework/Operator-SDK⁠ in a Container.

⁠Repo: (and Dockerfile)

If you want to change the versions of the Operator SDK or Kubectl, etc.: https://gitlab.com/com.figaw.util/operator-sdk⁠

⁠Run Interactively

docker run --rm -it \
    -w /go/src \
    -v operator-sdk:/go/pkg \
    -v $(pwd):/go/src \
    -v //var/run/docker.sock:/var/run/docker.sock \
    --privileged \
    figaw/operator-sdk
⁠Volumes:

-v operator-sdk:/go/pkg reuses the dependencies, if you're going to run it a lot. (The first operator-sdk new app-operator downloads ~2.9G dependencies.)

-v $(pwd):/go/src if your operator is in your "current folder."

⁠Volume for Docker:

Running docker in docker, giving access to the docker daemon running on the host:

-v //var/run/docker.sock:/var/run/docker.sock \
--privileged \

Tag summary

Content type

Image

Digest

Size

270.6 MB

Last updated

over 7 years ago

docker pull figaw/operator-sdk