repository does not exist or may require 'docker login'

[已解决]pull access denied for alpine-java, repository does not exist or may require 'docker login'。

确认是否已下载基础镜像[alpine-java],然后启动构建流程。

获取基础镜像:

vim Dockerfile

添加镜像:

FROM alpine:edge

或者

FROM ubuntu

镜像地址:

https://hub.docker.com/

构建命令:

docker build --tag=[name|镜像名称] --rm=true .