kubectl run

Tim Van Steenburgh tim.van.steenburgh at canonical.com
Thu Aug 31 21:33:39 UTC 2017


This works for me:

kubectl run -it db2express-c --port=50000 --env DB2INST1_PASSWORD=db2inst1
--env LICENSE=accept --image ibmcom/db2express-c:latest -- bash

On Thu, Aug 31, 2017 at 3:17 PM, Micheal B <tictoc at tictoc.us> wrote:

> Trying to convert a Docker run to kubectl
>
>
>
> Working thru
>
>
>
> https://hub.docker.com/r/ibmcom/db2express-c/
>
>
>
> docker run -it -p 50000:50000 -e DB2INST1_PASSWORD=db2inst1-pwd -e
> LICENSE=accept ibmcom/db2express-c:latest bash
>
>
>
>
>
> in Docker I have it running great just need to figure out the Kubectl run
> translation
>
>
>
> I thought that
>
> kubectl run db2express-c --image=db2express-c --port=50000 --command -e
> DB2INST1_PASSWORD=db2inst1 -e LICENSE=accept ibmcom/db2express-c:latest
> bash --generator=run-pod/v1
>
>
>
> but that fails…
>
>
>
>
>
> thanks
>
>
>
> Micheal
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170831/6a8fabc8/attachment.html>


More information about the Juju mailing list