Questions tagged [docker-build]

The Docker CLI (Command Language Interpreter) command for building Docker images.

Official documentation for this command is available here:

https://docs.docker.com/engine/reference/commandline/build/

560 questions
-1
votes
1 answer

Docker container runs CMD command three different ways, why?

I have set up my Dockerfile, it looks like this: FROM python:3.6 ARG label ARG seeds ARG dataset_name=${label}_terms RUN mkdir /prodigy WORKDIR /prodigy COPY ./prodigy-1.8.1-cp35.cp36.cp37-cp35m.cp36m.cp37m-linux_x86_64.whl /prodigy RUN pip…
ziemowit141
  • 465
  • 3
  • 18
-1
votes
1 answer

Using Docker, how to change bash version?

Does anyone know of a reliable way to switch between Bash version 3 and Bash version 4 in a Docker container? For testing purposes, I want to run one container with version 3 and one with version 4, however technically I don't need to switch…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
-2
votes
1 answer

Docker push: Force Push All Layers?

Does docker push possess a --force flag which forces all layers to be pushed to the repository, regardless of whether the repository believes those layers are unchanged? Thank you!
-2
votes
1 answer

"COPY failed: " While Building a Python Docker Image

I'm trying to create a Docker image using the following Dockerfile. # syntax=docker/dockerfile:1 FROM python:latest WORKDIR /project4 COPY pythonCode1.py /project4/pythonCode1.py COPY requirements.txt /project4/requirements.txt RUN pip3 install -r…
Watson221
  • 73
  • 7
-4
votes
1 answer

How to run docker-build.sh file in ubuntu?

I run below below command in terminal but i get command not found . and my code is : Notice : i have used chmod +x ... but it is not problem
1 2 3
37
38