Skip to content

Instantly share code, notes, and snippets.

@gregswift
Created June 29, 2017 15:24
Show Gist options
  • Save gregswift/114c025465631661a976d893704f20f7 to your computer and use it in GitHub Desktop.
Save gregswift/114c025465631661a976d893704f20f7 to your computer and use it in GitHub Desktop.
image import
$ oc import-image manageiq-pods-app --from=docker.io/manageiq/manageiq-pods:app-latest-fine --all=false --confirm
The import completed successfully.
Name: manageiq-pods-app
Namespace: manageiq
Created: Less than a second ago
Labels: <none>
Annotations: openshift.io/image.dockerRepositoryCheck=2017-06-29T15:20:53Z
Docker Pull Spec: 172.16.221.48:5000/manageiq/manageiq-pods-app
Unique Images: 1
Tags: 1
latest
tagged from docker.io/manageiq/manageiq-pods:app-latest-fine
* docker.io/manageiq/manageiq-pods@sha256:5368c28194ee8ab168fb68ee7470d57cb198e15ca4066c791db0f3c11716b186
Less than a second ago
[ xaeth@localhost zabbix-agent-module-docker ] (master *=)$ oc export is/manageiq-pods-app
apiVersion: v1
kind: ImageStream
metadata:
annotations:
openshift.io/image.dockerRepositoryCheck: 2017-06-29T15:20:53Z
creationTimestamp: null
generation: 1
name: manageiq-pods-app
spec:
tags:
- annotations: null
from:
kind: DockerImage
name: 172.16.221.48:5000/manageiq/manageiq-pods-app:latest
generation: 1
importPolicy: {}
name: latest
referencePolicy:
type: Source
status:
dockerImageRepository: ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment