我需要更改我要将图像推送到的Docker Hub帐户。我使用docker login更新我的.dockercfg文件,然后运行以下命令(account、image和tag作为实际值的通用占位符):
docker push account/image:tag
我立即得到以下错误:
The push refers to a repository [account/image] (len: 1)
Sending image list
2014/12/11 21:26:59 Error: Status 400 trying to push repository repo/image:
"Acc
当我构建docker映像时,docker文件中有这样的代码行
FROM realyunlong/cv_image FROM nvidia/cuda:8.0-cudnn6-devel-ubuntu16.04
docker images的输出
REPOSITORY TAG IMAGE ID CREATED SIZE
v1 latest 1786f4752d3c 44 min
我正在努力解决这个问题。我必须将docker镜像(与docker-compose up一起使用)推送到我的本地注册表,该注册表是使用以下命令设置的:
docker run -d -p 5000:5000 --restart=always --name registry registry:2
这是'docker ps‘的输出
5fe319f37d5c registry:latest "/entrypoint.sh /etc/" 41 hours ago Up About an hour 0.0.0.0:5000->5000/t
我已经将Tomcat应用程序部署到Docker (使用Windows),在我的终端中,它显示它连接到数据库: PostgreSQL init process complete; ready for start up.
app-db_1 |
app-db_1 | LOG: database system was shut down at 2021-04-25 19:15:05 UTC
app-db_1 | LOG: MultiXact member wraparound protections are now enabled
app-db_1 | LOG: autovac
我尝试通过minikube运行k8s,我遵循offical article,当我尝试minikube start的命令时,错误提示我无法拉出docker镜像(k8s.gcr): tianyu@ubuntu:~$ minikube start
minikube v0.34.1 on linux (amd64)
Creating virtualbox VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
"minikube" IP address is 192.168.99.100
Found network options: