dockerfile - Issue when pull from docker -


i newbie in docker , want create first docker image. started tutorial https://deis.com/blog/2015/creating-sharing-first-docker-image/ stucked on docker pull step.

i've created https://hub.docker.com/r/arturlwww/mavenlatestwebserver/ , when trying run

docker pull arturlwww/mavenlatestwebserver 

i getting error

docker pull arturlwww/mavenlatestwebserver using default tag: latest error response daemon: manifest arturlwww/mavenlatestwebserver:latest not found root@scw-97b47e:/home/redis_docker_image/qqq# 

how fix issue?

thank you!

update 1: wrong on side. dockerfile

from maven:latest  maintainer arturlwww <email.id@here>   run apt-get update run apt-get install -y rsync 

ok, build looks ok me:

 docker build -t mavenlatestwebserver . sending build context docker daemon   2.56kb step 1/4 : maven:latest  ---> 88714384d642 step 2/4 : maintainer arturlwww <email.id@here>  ---> using cache  ---> 850fc0ff0903 step 3/4 : run apt-get update  ---> using cache  ---> cfdc327fa6c2 step 4/4 : run apt-get install -y rsync  ---> using cache  ---> 8e6b64a1a3f5 built 8e6b64a1a3f5 tagged mavenlatestwebserver:latest 

but push doesn't work:

 docker push mavenlatestwebserver push refers repository [docker.io/library/mavenlatestwebserver] 93223539f002: preparing 1a5a1b1ca389: preparing e32a2ff74ef3: preparing 9b78bc392c51: preparing 93c45fd31089: preparing a07cd0e5de92: waiting cecc20f349f8: waiting c9e908787496: waiting c7ff02c44ca2: waiting 555f98a2316c: waiting b0220a5743fa: waiting 995042ba10ad: waiting fe40be59465f: waiting cf4ecb492384: waiting denied: requested access resource denied 

another push not working too:

docker push arturlwww/mavenlatestwebserver push refers repository [docker.io/arturlwww/mavenlatestwebserver] image not exist locally tag: arturlwww/mavenlatestwebserver 

what doing wrong? :)

in docker hub page says: last pushed: never

you need build , push image first. is:

docker build -t your-image . docker login (it prompt credentials docker push your-image 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -