[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: parameters for creating DB's

any of these should work for you:

docker inspect <container/image>

oc get istag imagestreamtagname -o yaml

oc get isimage imagestreamname imageid -o yaml

On Mon, Nov 30, 2015 at 8:49 AM, Fernando Lozano <flozano redhat com> wrote:
Hi there,

Using this thread to a more general question: is there a way to inspect
a docker container image to get its exposed ports and declared env vars?
Suppose I don't have documentation and also don't have the Dockerfile.

[]s, Fernando Lozano

> The one you've mentioned are part of our documentation, because they
> were created by us. For all the others I assume you should search for
> the appropriate documentation, usually on Docker Hub next to the image
> you're trying to run (that's the case with official images). Eventually
> I'd suggest running them locally and see what kind of values they are
> expecting, assuming the author was kind to error-out those information.
> Maciej
> On 11/30/2015 01:53 PM, Den Cowboy wrote:
>> How do I know which parameters I have to describe for creating DB's?
>> oc new-app mysql will create a db-instance which keeps restarting
>> oc new-app mysql -e MYSQL_USER=user,
>> MYSQL_PASSWORD=pass,MYSQL_DATABASE=db creates a fine working DB
>> But how do I know which parameters I have to give for each type of db?
>> For mysql, postgres and mongodb they are described in the
>> documentation, but what for other types like mariadb.
>> https://docs.openshift.com/enterprise/3.0/using_images/db_images/mongodb.html

users mailing list
users lists openshift redhat com

Ben Parees | OpenShift

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]