Error response from daemon: pull access denied for jdk, repository does not exist or may require 'docker login’
docker pull jdk:8
Error response from daemon: pull access denied for jdk, repository does not exist or may require 'docker login'
在docker拉取jdk镜像的时候出现这个问题,提示说要登录,或者是仓库不存在。
docker pull openjdk:tag
改成openjdk即可(tag为你需要的版本号)
openjdk和jdk用起来是差不多的
openjdk和jdk区别参考
https://www.cnblogs.com/ming-blogs/p/10677076.html