Bug 1314856 - [DOCS] Creating secrets for the image pull is outdated as docker stores key now in .docke/config.json
Summary: [DOCS] Creating secrets for the image pull is outdated as docker stores key n...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Ashley Hardin
QA Contact: Johnny Liu
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-04 17:01 UTC by Ryan Howe
Modified: 2019-10-10 11:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-25 19:44:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ryan Howe 2016-03-04 17:01:57 UTC
Document URL: https://docs.openshift.com/enterprise/3.1/dev_guide/image_pull_secrets.html#allowing-pods-to-reference-images-from-other-secured-registries

Section Number and Name: Allowing Pods to Reference Images from Other Secured Registries

Describe the issue:  Docker config file for storage of secrets has changed formats from .dockercfg to .docker/config.json

Suggestions for improvement: 

Add both explaining that use one for .dockercfg and the other for config.json

# oc secrets new <pull_secret_name> \
     .dockerconfigjson=path/to/.docker/config.json

# oc secrets new <pull_secret_name> \
    .dockercfg=<path/to/.dockercfg>


Additional information: 

More Info on this change
https://access.redhat.com/solutions/2190451

Comment 2 Ashley Hardin 2018-01-10 19:29:20 UTC
Work in progress:
https://github.com/openshift/openshift-docs/pull/7070

This issue only seems to exist in version 3.1 of the docs.

@Ryan PTAL

Comment 3 Johnny Liu 2018-01-22 06:49:09 UTC
LGTM.


Note You need to log in before you can comment on or make changes to this bug.