05-15 08:39
Recent Posts
Recent Comments
๊ด€๋ฆฌ ๋ฉ”๋‰ด

miinsun

[Docker] Unable to find image ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• ๋ณธ๋ฌธ

Infra/Docker

[Docker] Unable to find image ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

miinsun 2021. 11. 25. 17:39

 

๐Ÿ’ป ์‹ค์Šต ํ™˜๊ฒฝ

OS : Linux (Ubuntu 8)
Architecture : x89-64

 

๐Ÿ“Œ ์›์ธ : mySql ์ตœ์‹  ์ด๋ฏธ์ง€ ์‹คํ–‰์‹œ ๋ฐœ์ƒ

$ $ docker run --name mysql-container -e MYSQL_ROOT_PASSWORD=alstjs1docker -d -p 3306:3306 mysql:latest
Unable to find image 'images:latest' locally
docker: Error response from daemon: pull access denied for images, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
โŒ ์—๋Ÿฌ ๋ฐœ์ƒ
     pull access denied for images - mySql ์ตœ์‹  ์ด๋ฏธ์ง€์— ๋Œ€ํ•œ ๊ถŒํ•œ์„ ๊ฐ€์ง€๊ณ  ์žˆ์ง€ ์•Š๋‹ค

โญ• ์—๋Ÿฌ ํ•ด๊ฒฐ
     docker login์„ ํ•ด์ฃผ์ž

 

 

๐Ÿ“Œ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

docker์— loginํ•ด์„œ ๊ถŒํ•œ์„ ๋ฐ›์ž
$ docker login
Authenticating with existing credentials...
WARNING! Your password will be stored unencrypted in /home/minsun/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

 

docker run [image]์„ ์ˆ˜ํ–‰ํ•ด์ฃผ์ž
$ docker run --name mysql-container -e MYSQL_ROOT_PASSWORD=alstjs1docker -d -p 3306:3306 mysql:latest
61bbf2e2a8643ba601b40a986276763bc8ed53a72dc3037f2d3e88b3316833e5

์ œ๋Œ€๋กœ ๋™์ž‘๋œ๋‹ค

 

 

docker ํšŒ์› ๊ฐ€์ž…์€ ์•„๋ž˜์—์„œ

 

Docker Hub Container Image Library | App Containerization

Build and Ship any Application Anywhere Docker Hub is the world's easiest way to create, manage, and deliver your teams' container applications.

hub.docker.com

 

'Infra > Docker' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[Docker] MySQL์„ค์น˜  (0) 2021.12.02
[Docker] /usr/local/bin/docker-compose: ํ—ˆ๊ฐ€ ๊ฑฐ๋ถ€ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•  (0) 2021.11.25
Comments