Questions tagged as 'dockerfile'

2
answers

Status 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 have a problem to run the command: $ docker-compose up I created a Dockerfile in the root of my project to create a container with the mai...
asked by 18.06.2018 / 16:07
1
answer

Docker always checks if the local image is the same or lower version than the official Docker Hub repository?

When raising a new application, you do not have the image locally, so Docker will get the image that is the base of the container. Once the image has been downloaded, Docker goes up the container. The application is there running. But if there i...
asked by 03.05.2018 / 16:12
1
answer

Docker push - Send the image to the Docker Hub

Alright? Can anyone help me with the following problem? First I logged in to Docker by running the command: $ docker login It includes the registered user and password, however I'm having problems sending an image to the Docker Hub. W...
asked by 05.12.2018 / 02:44
2
answers

What is the meaning and usage of volume in Dockerfile?

In a Dockerfile file, what is the meaning of the statement: VOLUME /arquivos I imagine this creates a volume, but how is it used and what is its real meaning?     
asked by 27.03.2018 / 04:01
1
answer

Error when running PIP command in Docker

I have a python project that runs inside a Docker. When the (Build) image is assembled reliably from a RUN pip install -r requirements.txt but when it executes the command it returns a connection error. Complete Dockerfile FROM pyt...
asked by 05.06.2018 / 22:09
1
answer

Problem with Docker installation pdo

I have 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 the PDO this error appears. SQLSTATE [HY000] [2002] No such file or directory...
asked by 30.04.2018 / 20:07
0
answers

Django 2.0.9 - Dock application - Difficulty in completing the process

Good afternoon, guys. I'm doing a job at the University. Basically it is an application in Django version 2.0.9. However, the teacher asked us to perform the following procedure to deploy the application to a university server: "In the las...
asked by 02.12.2018 / 17:57
0
answers

Docker: OCI runtime create failed + executable file not found in $ PATH

Good evening guys, I have broken my head here to correctly use dockerfile and docker-compose . I have the image getjv/nodejs:8.11.4 , whenever it starts (container) I already want to raise the Node server with the comm...
asked by 27.08.2018 / 03:41
1
answer

How to properly dock-compose?

I need help understanding how to correctly do a docker-compose. I created an image and called it hello-nodemon: FROM node:latest ENV HOME=/src/jv-agricultor RUN mkdir -p $HOME/ WORKDIR $HOME/ ADD package* $HOME/ RUN npm install EXPOSE 3000...
asked by 14.07.2018 / 20:59