Я пытаюсь развернуть образ докера из концентратора докеров в openshift.
Я создал изображение с помощью простого приложения для весенней загрузки:
https://hub.docker.com/r/ernst1970/my-rest
После входа в openshift выбрать правильный проект, который я делаю
oc new-app ernst1970/my-rest
И я получаю
W0509 13:17:28.781435 16244 dockerimagelookup.go:220] Docker registry lookup failed: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Clien
t.Timeout exceeded while awaiting headers)
error: Errors occurred while determining argument types:
ernst1970/my-rest as a local directory pointing to a Git repository: GetFileAttributesEx ernst1970/my-rest: The system cannot find the path specified.
Errors occurred during resource creation:
error: no match for "ernst1970/my-rest"
The 'oc new-app' command will match arguments to the following types:
1. Images tagged into image streams in the current project or the 'openshift' project
- if you don't specify a tag, we'll add ':latest'
2. Images in the Docker Hub, on remote registries, or on the local Docker engine
3. Templates in the current project or the 'openshift' project
4. Git repository URLs or local paths that point to Git repositories
--allow-missing-images can be used to point to an image that does not exist yet.
See 'oc new-app -h' for examples.
Я тоже пробовал с
oc new-app mariadb
Но получил то же сообщение об ошибке.
Я думал, что это может быть проблема с прокси. Поэтому я добавил прокси к своему .profile
:
export http_proxy=http://ue73011:secret@dev-proxy.wzu.io:3128
export https_proxy=http://ue73011:secret@dev-proxy.wzu.io:3128
К сожалению, это ничего не изменило.
Есть идеи, почему это не работает?