标签[dockerfile]

Dockerfile是包含说明以构建Docker映像的文件

0
1回复
14

dockerrun后,docker不在`containerls`或`ps`中

I am running a docker container for a react application.我正在为 React 应用程序运行 docker 容器。 frontend.DockerfileFROM node:14 as builderRUN mkdir -p /clientWOR
0
0回复
07

如何在docker镜像中安装tesseract-ocrv4.1.1

I'm trying to build a docker image that will run on WSL-2 Ubuntu-20.04 (hosted on Windows 10).我正在尝试构建一个将在 WSL-2 Ubuntu-20.04(托管在 Windows 10 上)上运行的 doc
0
0回复
11

使用VSCode(使用Remote-Containers插件)打开特定容器或图像

I'm new to containers and am learning about developing in containers .我是容器的新手,正在学习在容器中进行开发。 I have the Remote-Containers plugin and desire to open VS
0
0回复
27

为什么docker在docker容器中找不到JSON文件的Env变量?

I have problems when I want to add a environmental variable with the path to a JSON file as credentials for GOOGLE_APPLICATION_CREDENTIALS当我想添加一个带有 JS
0
0回复
13

yaml:第8行:未找到预期的密钥

these are my first times with docker, I'm trying to put the directives for MariaDB in my composer file.这是我第一次使用 docker,我正在尝试将MariaDB的指令放入我的 Composer 文
0
2回复
22

如何在“dockerbuild”时打印变量的值,无论是env还是arg?

Title says it all.标题说明了一切。 The ARG instruction prints the variable and it's default value, not it's current value. ARG 指令打印变量及其默认值,而不是当前值。 I'd like to
0
2回复
35

这个dockerfile是否创建了损坏的图像?

I am trying to run a dotnet core Web Api application on a docker container on Windows 10我正在尝试在 Windows 10 上的 docker 容器上运行 dotnet core Web Api 应用程序This
0
0回复
18

加快节点应用程序中的docker构建过程

FROM buildImage AS stagingBuildARG BUILD_NUMBERWORKDIR /usr/src/appRUN npm run build:prodRUN npm run ci:testsFROM nginx:alpine AS stagingADD nginx.con
0
1回复
21

docker-compose失败sayin图像不存在

I am trying to take a very difficult, multi-step docker setup and make it into an easy docker-compose.我正在尝试进行一个非常困难的多步骤 docker 设置,并将其变成一个简单的 docker-co
1
1回复
51

如何在GitHubActions中内置的Dockerfile中使用github令牌并尝试克隆私有存储库?

The bounty expires in 6 days . 赏金将在 6 天后到期。 Answers to this question are eligible for a +50 r
0
0回复
15

我需要启动一个多容器并在配置文件中列出容器名称和IP

I want to create a cluster of specific containers and the same config file is mounted for them.我想创建一个特定容器的集群,并为它们安装相同的配置文件。 And, I need some way to au
0
1回复
28

无法使用前端dockerfile.v0解决:无法读取dockerfile:来自发件人的错误:打开/private/tmp/AVScanB2wT:权限被拒绝

Getting this error during docker build command.在 docker build 命令期间收到此错误。 failed to solve with frontend dockerfile.v0: failed to read dockerfile: error
0
1回复
34

LaravelSail部署准备好了吗

I've recently started using Laravel Sail and I've noticed that it uses the built-in PHP server and not something like Apache or Nginx .我最近开始使用Laravel
0
1回复
54

Docker环境变量在RUN命令中不可用

I am having difficulties with ARG & ENV in docker after I have upgraded to Docker version 20.10.7, build f0df350 on windows 10.升级到 Docker 版本 20.10
1
0回复
31

如何在同一实例上从一个容器向另一个容器发出http请求

I'm running a multicontainer docker instance in aws beanstalk, I have 4 containers running, an nginx proxy that receives requests and forwards them to
0
0回复
17

Tomcatdocker容器在运行后停止

FROM tomcat:latestRUN ["rm", "-fr", "/usr/local/tomcat/webapps/webapp.war"]ADD ./webapp/target/webapp.war /usr/local/tomcat/webapps/CMD [“catalina.sh”
-1
0回复
15

浏览器中的请求工作正常,但从docker容器卷曲时不起作用

I currently have services running in containers and I'd like to make a curl request to the other.我目前有在容器中运行的服务,我想向另一个发出 curl 请求。 The container I'm mak
0
0回复
06

使用arm64v8/python:3.7-slim-buster基础映像在Dockerfile中运行“apt-getupdate”时出错

Team - Can you please share suggestions on how to fix the below issue.团队 - 您能否分享有关如何解决以下问题的建议。 Error while running “apt-get update” in the Dockerfile
0
0回复
17

Docker在运行容器时如何接受外部文件作为参数

I have this machine learning model working on my local machine so when i run python model_inference.py path/to/model path/to/wav/file passing a pytorc
0
1回复
17

如何创建Tallyerp的图像并在docker容器上运行?

Can we create/push any software image to docker server and available for other developers?我们可以创建/推送任何软件映像到 docker 服务器并可供其他开发人员使用吗? I want to install t

1 2 3 4 5 6 7 8 9 10 下一页