kubectl run

Micheal B tictoc at tictoc.us
Thu Aug 31 19:17:31 UTC 2017


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20170831/212d69bb/attachment.html>


More information about the Juju mailing list