Most voted "dockerfile" questions
None
Learn more…33 questions
Sort by count of
-
10
votes2
answers2220
viewsWhat is the difference between Docker-Compose and Dockerfile?
What is the difference between Docker-Compose and Dockerfile, specifically? Docker-Compose uses Dockerfile or vice versa? Can I make every configuration with just one of them? If so, which?…
-
4
votes2
answers6011
viewsWhat is the meaning and form of volume use in Dockerfile?
In a Dockerfile file what is the meaning of the instruction: VOLUME /arquivos I imagine it creates a volume, but how it’s used and what its real meaning is?
-
4
votes2
answers940
viewsStatus Exited (0) after a Docker-Compose up command
I’m starting to work with Docker now, I understand the concepts of images and containers but I’m having a problem running the command: $ docker-compose up I created a Dockerfile at the root of my…
-
2
votes1
answer955
viewsDocker push - Send image to Docker Hub
all right? Can anyone help me in the following problem? I first logged in to Docker, running the command: $ docker login Includes registered user and password, but I’m having trouble sending an…
-
2
votes0
answers123
viewsHow to fix strange Docker bug?
In a few days ago I started my study with Docker, I took one of those courses from cod3r, seemed beautiful and wonderful. And then I started experimenting with Spring Boot, it’s an archive JAR that…
-
1
votes1
answer701
viewsProblem with Docker Pdo installation
I’m having a problem with my containers in Docker, I was trying to raise a Lamp with Docker Compose, with the default image of php:apache and mysql, but when I install PDO this error appears.…
-
1
votes1
answer510
viewsDoes Docker always check that the local image is of the same or lower version as the official Docker Hub repository?
When lifting a new application, you don’t have the image locally, so Docker fetches the image that is the container’s base. Once the image has been downloaded, Docker raises the container. The…
-
1
votes1
answer200
viewsError running PIP command on Docker
I have a python project that runs inside a Docker. When the image (Build) is mounted rele da um RUN pip install -r requirements.txt but when it executes the command returns a connection error.…
-
1
votes1
answer412
viewsHow to run Dockerfile inside Docker-Compose.yml?
This is a generic skeleton of a Docker-Compose.yml file version: '3' services: db: image: mongo:3.4 backend: image: node:8.1 volumes: -./backend:/backend ports: - 3000:3000 command: bash -c "cd…
-
1
votes1
answer241
viewsDocker
I am setting up a development environment with Docker. In it I need NGINX (webservice) PHP 7.2 (app) MARIADB 10.3 (database) In the container app I must install Composer, I will work using Windows.…
-
1
votes1
answer1821
viewsHow do I fix my Docker-Compose.yml? expected <block end>, but found '<block Mapping start>'
$ docker-compose up ERROR: yaml.parser.ParserError: while parsing a block mapping in ".\docker-compose.yml", line 3, column 4 expected <block end>, but found '<block mapping start>' in…
-
0
votes0
answers364
viewsDocker: OCI Runtime create failed + Executable file not found in $PATH
Good evening, everyone, I have broken my head here to properly use the dockerfile and the docker-compose. I have the image getjv/nodejs:8.11.4, whenever it starts (container) already want to lift…
-
0
votes1
answer2036
viewsError: Starting container process caused "exec: "/Docker-entrypoint.sh ": permission denied"
I’m getting an error when giving the build on Docker-Compose: ERROR: for indicaaquicombrold_mysqld_1 Cannot start service mysqld: oci runtime error: container_linux.go:247: starting container…
-
0
votes0
answers513
viewsHow do I enable access from external hosts to the webserver contained in a container of my Docker host?
I created a php site with Laravel and in order not to have to install the Windows development environment on my pc I used the laradock to test my project. Now I want to access my site from an…
-
0
votes1
answer35
viewsDocker Automatic Containers after RUN on Dockerfile
A Doubt about the dockerfile: After I run the build it creates some containers with < None >tag, is that normal? You shouldn’t only create php? FROM php:7.2-apache RUN apt-get update…
-
0
votes1
answer31
viewsHow can I create an image on Docker but instead use copy for the files use git clone
I have a repository on github with my project and I need to create an image to run this project but I’m not getting FROM python:3.6.7 MAINTAINER RENAN SACCA CMD…
-
0
votes2
answers176
viewsHow to create a Docker image using a github project but to download it into the Docker with the clone using ssh key
FROM python:3.6.7 LABEL maintainer="RENAN SACCA" EXPOSE 8000 RUN git clone [email protected]:Renan-Sacca/projeto-contabilidade.git WORKDIR teste-docker RUN pip3 install -r requirements.txt CMD…
-
0
votes1
answer62
viewsDifference between Dockerfile and Docker-Compose
I’m having doubts about the images. I understood the part that Dockerfile creates the image and that Docker-Compose manages the images that will be used in that application but why I have to create…
-
0
votes0
answers30
viewsDo you need python installed to build a Docker image?
On the Docker website, examples of build with Python, Java, Go, Node.js(javascript) are given and they are indicated to have previously installed them. What do I see, I have to have the language…
-
0
votes1
answer29
viewsERROR The Compose file Docker-Compose is invalid because
I’m getting this error message; This message appears when running Docker-Compose.yml, take a look at how it looks like! version: "3.5" services: kwan: image: postgres container_name: postgres-kwan…
-
0
votes1
answer132
viewsFailure to establish connection between two Docker containers
I have an application that is divided into 2 parts: Frontend and Backend. Frontend is an React JS application and backend is a Java application. This project is running on Docker, where I have 3…
-
0
votes1
answer133
viewsGlassfish Server with Dockerfile
Good evening, everyone!! I have the following problem: I need to upload a container containing the Glassfish server, the image was generated from a Dockerfile, however when running the container…
-
0
votes1
answer2080
viewsNode and Mysql connection error in Docker Compose: Error: connect ECONNREFUSED
I created a file docker-compose.yml to load a Mysql database and a Nodejs server: version: '3' services: database: image: mysql:5.7 container_name: 'database' restart: 'always' volumes: -…
-
0
votes0
answers95
viewsIs it possible to upload blazor webassembly applications with . net core hosted on Herokuapp via Docker?
When I go up a blazor server application, I use the following steps: I create a dockerfile file in the same folder where the project is so: FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim…
-
0
votes1
answer95
viewsDocker - No module named 'Azure.Storage'; 'Azure' is not a package
I’m having problems importing the Azure-Storage-blob package into an Apache-Airflow container. My image: My running container: I installed Azure-Storage-blob but when executing a script, an error…
-
0
votes1
answer21
viewsDockercompose (Netlogo + ROS) - Copying Java from one build to another
I’m new to Docker and I need help putting two images together. First, I have these Dockerfile files / Docker-Compose, for a Docker Container with ROS. Alone, it works fine. Dockerfile: ARG…
-
-1
votes1
answer470
viewsPermissions command inside Dockerfile are not executed
FROM joomla:3.9-php7.2-apache RUN apt-get update \ && apt-get install -y apt-utils vim curl COPY ./joomla_html /var/www/html RUN chown -R www-data:www-data /var/www/html/ RUN chmod -R 777…
-
-1
votes1
answer248
viewsDockerfile RUN Shellscript error while running if
I’m having a problem building on the dockerfile where I need to run a Shellscript so that I can insert a master word into it and it only contains the verification of a folder if it exists or not and…
-
-1
votes2
answers156
viewsDocker and angular circling communication with api
I started using Docker a short time ago, I tried the deployment of two applications the angular frontend and an api in python, problem that even in the same network in Docker I can only access the…
-
-1
votes0
answers10
viewsError Docker build
Docker build . [+] Building 13.5s (10/11) => [Internal] load build Definition from Dockerfile => => Dockerfile: 32B => [Internal] load . dockerignore => => Transferring context: 2B…
-
-1
votes0
answers20
viewsPage is not working after using Docker
I created a web application with Django and when I run the command "python Manage.py runserser" the page runs normally. But after running the Docker container the page appears as not working:…
-
-2
votes1
answer60
viewsInserting a Docker build tag is not working
I have a dockerfile in my project using the image below: FROM Maven:3.3-jdk-8 as Builder When I run the build everything runs perfectly: Docker build -t pun/server:1.0 . But the problem is that the…
-
-2
votes1
answer13
viewsProblem with Docker local drive volumes on Windows10 WLS2
I have a problem with Docker volumes, in my first project everything went right now in another I have this error, when I will run again the 1 project works when vo. For another of that mistake. I’m…