Docker registries & repositories

Search, pull or push an image in Docker

Docker Search for an image:

Docker search in Docker Hub for images

docker search oraclexe12c

sunny@Oracle1:~/Desktop$ docker search oraclexe12c


obrehmer/oraclexe12c                 0                    

olsarnow/oraclexe12c                 0                    

Use other filter or format option also for search.

docker search --filter stars=3 oracle

sunny@Oracle1:~/Desktop$ docker search --filter stars=3 oracle
NAME        DESCRIPTION                            STARS  OFFICIAL   AUTOMATED
oraclelinux Official Docker builds of Oracle Linux.         970       [OK]  

-- Return only name 
docker search --format "{{.Name}}" oraclexe   
sunny@Oracle1:~/Desktop$ docker search --format "{{.Name}}" oraclexe12

Pull an Image from Docker hub

docker image pull imagename

sunny@Oracle1:~/Desktop$ docker image pull obrehmer/oraclexe12c

Using default tag: latest

latest: Pulling from obrehmer/oraclexe12c

863735b9fd15: Pull complete 

4fbaa2f403df: Pull complete 

44be94a95984: Pull complete 

a3ed95caeb02: Pull complete 

b8bc6e8767ee: Pull complete 

c918da326197: Pull complete 

448e1619a038: Pull complete 

Push the image

docker image push <imagename>

sunny@Oracle1:~/Desktop$ docker push orcl2-image
Using default tag: latest
The push refers to repository []
5bd896f8766f: Preparing 
88a6d12738cc: Preparing 
5f70bf18a086: Preparing 
e5c915a30e83: Preparing 
aa29cd894a7b: Preparing 
43038c62fc57: Waiting 
denied: requested access to the resource is denied.

First you need to login at docker hub:
docker login 

sunny@Oracle1:~/Desktop$ docker login

Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to to create one.


logout from docker login:
docker logout

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.