Skip to content

Progression Stop: examples/sample-app guide Step #4 #972

@uptownhr

Description

@uptownhr

I'm not sure if this is a docker only issue but I've started the guide using the docker route. But when you get to Step '#4'.

Deploy a private docker registry within OpenShift with the certs necessary for access to master:

$ sudo chmod +r ./openshift.local.certificates/master/key.key
$ pushd ../..
$ CERT_DIR=examples/sample-app/openshift.local.certificates/master hack/install-registry.sh
$ popd

The 3rd line here cannot be done.

First because hack/install-regsitry.sh from /var is not available.
Second, even if you download the hack/install-registry.sh to its location from the sample hack directory, you will receive an error.

hack/install-registry.sh: line 4: syntax error near unexpected token `newline'
hack/install-registry.sh: line 4: `<!DOCTYPE html>'

Not sure if something obvious is missing but the "https://github.com/openshift/origin/blob/master/examples/sample-app/container-setup.md" step does not talk about downloading this file when it does mention downloading other files from the repository.

Feels like documentation is out of sync. Would love to get through this guide! Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions