我正在尝试使用 minikube 构建微服务映像并将其部署到在我的开发机器上运行的单节点 Kubernetes 集群。我正在使用 Google 的云原生微服务演示应用程序 Online Boutique 来了解 Kubernetes、Istio 等技术的使用。
链接到 github 存储库:microservices-demo
在遵循安装过程并运行命令skaffold run来构建和部署我的应用程序时,我收到一些错误:
Step 10/11 : RUN apt-get -qq update && apt-get install -y --no-install-recommends curl
---> Running in 43d61232617c
W: GPG error: http://deb.debian.org/debian buster InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian buster-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not …Run Code Online (Sandbox Code Playgroud) 我想标题说明了一切......我有一个来自php:7.0-fpm图像的容器集.
在Dockerfile中,我运行,apt-get update && apt-get install -y php-soap.但是,它失败并100作为退出代码返回.此外,还有E: Package 'php-soap' has no installation candidate.
根据这个讨论,我需要安装apt-transport-https.我把它安装在Dockerfile中,但仍然是同样的错误.我该怎么办?
我正在开发一个 php docker 应用程序。尝试 docker-compose up 命令时遇到错误。尝试将 php 应用程序连接到 mysql。
我的 docker 撰写文件
web:
build: .
command: php -S 0.0.0.0:8000 -t /app
links:
- db
ports:
- "8000:8000"
volumes:
- ./app:/app
db:
image: mysql
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: 123456
MYSQL_USER: dev
MYSQL_PASSWORD: 123456
MYSQL_DATABASE: myapp
Run Code Online (Sandbox Code Playgroud)
我收到此错误:E:无法找到包 libicu-dev 错误:服务 'web' 无法构建:命令 '/bin/sh -c apt-get install -y libicu-dev' 返回非零代码: 100