我按老师的教程下载IMAGE成功,在启动的时候提示:
C:\Users\p>docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=11111a" -p 1433:1433 -d microsoft/mssql-server-liunx
Unable to find image 'microsoft/mssql-server-liunx:latest' locally
docker: Error response from daemon: pull access denied for microsoft/mssql-server-liunx, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
好像是找不到IMAGE,但用docker images查看是有的:
C:\Users\p>docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
microsoft/mssql-server-linux latest 314918ddaedf 23 months ago 1.35GB
docker ps -a命令查看结果如下:
C:\Users\p>docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
是哪步弄错了吗?
. Net Core实战+RESTful思想纵深课程,开发优雅RESTful风格API。
了解课程