I have a Oracle OCI Kubernetes Cluster. I tested a sample nginx with Loadbalancer and it works fine and can access externally. Now I have a DB & Weblogic docker container image on my Local machine(not on cluster nodes). When I try to deploy them I get an error saying it is not found in registry. I haven't uploaded the image to registry. My question is, is there a way to directly reference the image on my local box running kubectl and deploy it ?
sample nginx works
root@docker-forms-ubuntu:/docker/kubernetes# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
oracle/database 12.2.0.1-ee 190ad0c5e1c8 46 hours ago 6.12GB
localhost/oracle/formsreports 12.2.1.3 cd673b530298 3 days ago 14.7GB
oracle/fmw-infrastructure 12.2.1.3 a167bf2e519e 3 days ago 6.29GB
oracle/serverjdk 8 f34272b9b150 3 days ago 642MB
iad.ocir.io/orasenatdpublicsector05/guru/oracldb 12.2.1.3 331e9a596394 3 days ago 6.12GB
nginx latest 5a3221f0137b 9 days ago 126MB
oraclelinux 7-slim 874477adb545 2 weeks ago 118MB
oraclelinux latest 5f993b1aafe5 2 weeks ago 235MB
hello-world latest fce289e99eb9 7 months ago 1.84kB
root@docker-forms-ubuntu:/docker/kubernetes#
Normal Scheduled 22s default-scheduler Successfully assigned default/database-7d95f6774f-bl55h to 10.0.10.2
Normal BackOff 19s (x2 over 20s) kubelet, 10.0.10.2 Back-off pulling image "oracle/database:12.2.0.1-ee"
Warning Failed 19s (x2 over 20s) kubelet, 10.0.10.2 Error: ImagePullBackOff
Normal Pulling 5s (x2 over 21s) kubelet, 10.0.10.2 pulling image "oracle/database:12.2.0.1-ee"
Warning Failed 4s (x2 over 21s) kubelet, 10.0.10.2 Failed to pull image "oracle/database:12.2.0.1-ee": rpc error: code = Unknown desc = pull access denied for oracle/database, repository does not exist or may require 'docker login'
Warning Failed 4s (x2 over 21s) kubelet, 10.0.10.2 Error: ErrImagePull