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
0
votes
2 answers

Docker creates dangling images when no running container exists

I try to dockerize my Java app. Whenever I build a new image, Docker adds the new image into the list without removing the old images. I don't run the images, I just build again and again. I think it should remove the old ones. Am I wrong? Docker…
Erkan Erol
  • 1,334
  • 2
  • 15
  • 32
0
votes
1 answer

'/bin/sh -c bash $METEORD_DIR/on_build.sh' returned a non-zero code: 1

I'm pretty new to docker and what I want to do is to create a docker image of my Meteor App then run it in a container. (I'm working on OSX) Correct me if I'm wrong but the steps are: 1)cd /myMeteorApp 2)create a file Dockerfile containing in my…
Jerome
  • 1,162
  • 2
  • 16
  • 32
0
votes
1 answer

Error building syntaxnet using Dockerfile

I built using the docker file - Dockerfile . It runs for two hours. However, in the end it shows - Executed 0 out of 17 tests: 17 were skipped. I assume the docker build is not getting executed correctly as I am also unable to do - echo 'Bob…
Ishan Mihir
  • 83
  • 2
  • 9
0
votes
1 answer

Concourse cant put docker image to local repo, not a vaild repository/tag

Concourse cant build and deploy to docker, I get this error: invalid argument "http://10.250.249.243:5000/frontend-srv-img:latest" for t: Error parsing reference: "http://10.250.249.243:5000/frontend-srv-img:latest" is not a valid …
David Karlsson
  • 9,396
  • 9
  • 58
  • 103
0
votes
1 answer

"No such file or directory" what's wrong in this Dockerfile?

I am playing with a Dockerfile and I have this: ARG PUID=1000 ARG PGID=1000 RUN groupadd -g $PGID docker-user && \ useradd -u $PUID -g docker-user -m docker-user && \ mkdir /home/docker-user/.composer COPY…
ReynierPM
  • 17,594
  • 53
  • 193
  • 363
0
votes
1 answer

Docker build error

I'm trying to build a Docker image, and are following the basic tutorial on Dockers own page. My Dockerfile looks like FROM docker/whalesay:latest RUN apt-get -y update && apt-get install -y fortunes CMD /usr/games/fortune -a | cowsay That is exact…
Andy
  • 15
  • 1
  • 4
0
votes
1 answer

Is all WSO2 API Manager's configuration saved in the database?

Say one implements a WSO2 API Manager Docker instance connecting to a separate database (like MySql) which is not dockerized. Say some API configuration is made within the API Manager (like referencing a Swagger file in a GitHub). Say someone…
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
0
votes
1 answer

Building a Docker Image results in error while trying to install libwww-perl i.e., perl-modules_5.14.2-6 and perl_5.14.2-6 Not found

I need the package libwww-perl when my ubuntu image is created in docker. So in my Docker file, I added the line RUN apt-get install -y libwww-perl However when I'm trying to build this Docker image sudo docker build -t web-service:latest . I end up…
Kishore Bandi
  • 5,537
  • 2
  • 31
  • 52
0
votes
1 answer

Can't build docker image from github repository branch

I have a private GitHub repository containing 2 branches: master and stage. Repository contains a Dockerfile and other files necessary to build a container image. According to the documentation I can specify the branch when calling docker build…
nativehr
  • 1,131
  • 6
  • 16
-1
votes
1 answer

When rebuilding in Docker is needed?

Can we run a container, install software dependencies, and then use the updated container without building again the image?
-1
votes
1 answer

Does anyone build "source" docker images?

Back in the day when we had fewer package choices I spent a lot of time building RPM packages. It has the concept of a "source" package and a "binary" package. A lot of our current docker images all start out pretty similarly, they pull whatever…
-1
votes
1 answer

I already added ".", but "docker build" still requires exactly 1 argument

I tried several solutions, but I was not able to get any of them to work. Here is my code: jing-Inspiron-3670:~$ sudo docker build . -f ./dockerfile . -t mhcflurry:latest . [sudo] password for jing: "docker build" requires exactly 1 argument. See…
yueli
  • 43
  • 7
-1
votes
1 answer

Google cloud or Docker not recognizing folder

I have a project with the following strucure : vineetkalghatgi@vinux:~/personal-projects/bertQA_server$ ls bert-server-env cloudbuild.yaml Dockerfile main.py mymodel Procfile __pycache__ README.md requirements.txt target My…
-1
votes
1 answer

Client-side Blazor hosted in Docker fail while IL linking

I tried to build a Docker image from my client-side Blazor app. The app gets served by the ASP.NET Core WebAPI project. For this purpose I let VS generate the appropriate Dockerfile. FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS…
-1
votes
2 answers

Docker: setting up `docker build` as a service

I'm looking to be able to build docker containers on the fly given a docker file. That is, given a docker file, I want to be able to send the file to a remote "build service", which builds it for me programatically. Are there any hosted or open…
1 2 3
37
38