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
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to