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