Most voted "docker" questions
Docker is a technology for creating and managing resources and services using Containers.
Learn more…319 questions
Sort by count of
-
1
votes1
answer2283
viewsHow to create a windows container for Docker?
good afternoon, I got a problem I can’t seem to solve. So... I need to build a development environment with windows 10 OS. In this environment I need to have all the necessary settings to develop a…
dockerasked 6 years, 11 months ago Claudio Oliveira 11 -
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
votes2
answers423
viewsHow do D-Ocker respond to a domain that does not exist in /etc/hosts?
In my hosts file I have only the following domains: 127.0.0.1 localhost 127.0.0.1 abc.com When I will rotate the image I use the following command: docker run -p 80:80 -v…
-
1
votes0
answers28
viewsRunning multiple instances of the same application on a single Memcached Server
I’m having a problem with "docked" and Memcached apps, to store some values, apparently when I start a new instance of Docker, which runs a Spymemcached client, all the data in the cache is…
-
1
votes1
answer314
viewsDocker Container does not start
I’m a beginner in Docker and I’m trying to create a development environment with ngix mysql and php using Laradock, I have in my machine Docker installed, I tried to follow the steps of…
-
1
votes1
answer414
viewsDocker and Virtualbox Shared Folders
I need some help, guys. My scenario is this:: I have Windows 10 installed on my computer. In Windows 10 I installed Virtualbox. In Virtualbox I created a VM and installed Debian. Now, within Debian,…
-
1
votes0
answers107
viewsDocker Hub + Travis-ci: how to generate an automatic Description?
I have been struggling for 9 hours to achieve a continuous integration between Github > Travis-ci and Docker hub. So far I’ve managed to achieve the following goal: I push to Github, at this…
-
1
votes1
answer305
viewsError while running dockerfile
I own one dockerfile which runs an application in Node.js FROM node RUN npm install mongoose RUN useradd --user-group --create-home --shell /bin/false app &&\ npm install --global [email protected]…
-
1
votes0
answers562
viewsIs it possible to send an application defined in Docker-Compose.yml to Heroku?
Well, I have an application running on the Docker environment, but I use Docker-Composer.yml and not Dockerfile to define services, etc. Is it only possible to send an app if it is mounted on…
-
1
votes1
answer133
viewsAlways include arguments when running Docker-Compose run
I have a question about passing arguments in the Docker-Compose run: I’m wearing a Dockerfile which has the following entrypoint: ENTRYPOINT [ "/bin/wp" ] CMD [ "--allow-root", "--help" ] I need the…
-
1
votes0
answers454
viewsError changing password (MYSQL_ROOT_PASSWORD), in Mysql Docker.compose.yml file
I had to recently change the administrator password of my database (currently using Mysql), changed the password 'MYSQL_ROOT_PASSWORD' but did not reflect changes in my container. I tried to delete,…
-
1
votes0
answers79
viewsHow to integrate Travis-ci with Docker Hub in a practical and efficient way?
I’m creating some Dockerfile + configuration files for my images, currently I push to Github, later Travis-ci picks up the files and generates a build, ending makes the push to the Docker Hub. In…
-
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
answer109
viewsWhen the container does not know the host name?
I created a container on Docker and it tries to access a host called pgmaster. On the machine where Docker is installed I added the sequinte host: 10.0.0.3 pgmaster in the /etc/hosts. So much so…
-
1
votes2
answers656
viewsAccess web application that is running on apache from a Docker container inside a linux server that I access for ssh
By my windows machine I have access to a linux server that is on the same network through an SSH. Do I need to access a web application that runs inside apache from a Docker container on that…
-
1
votes2
answers652
viewsDocker with React, refresh the updates without having to upload the container again
I created an application in React and decided to run it with Docker locally, only for development At Dockerfile it was like this: FROM node:8 WORKDIR /usr/src/app COPY package*.json ./ RUN npm…
-
1
votes0
answers29
viewsSetup gitlabCe on Docker
I installed gilab container on Docker however two problems appeared: 1 - If you configure external_url the system does not restart. 2 - If you look at the path of the project SSH is…
dockerasked 6 years, 8 months ago Israel Zebulon 1,758 -
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
answer112
viewsBest Backend Platform for Microservices
I have to develop a server with microservices with some functional programming language, initially I thought of Haskell and Clojure (languages with whom I most identify), I need a language with fast…
-
1
votes1
answer92
viewsWhat are Containers and Docker?
What are Containers and Docker in a developer’s view? what they are used for and how important they are in a software project?
-
1
votes0
answers39
viewsIs it necessary to use any CI tool to build and build Docker-Compose with Maven?
I am building a web application with Spring MVC and Postgres, my problem here is with using pom.xml to create a Docker-Compose file to deploy in containers. Is it possible to add commands to pom.xml…
-
1
votes1
answer78
viewsHow to assign recover ip from a service within Docker-Composer?
I’m trying to raise Zabbix on Docker, I created a Docker-Compose with several services, one of them is the database. I need to survey the database first and then take the IP of the database and set…
-
1
votes0
answers72
viewsHow do I make my application run on Docker Compose?
Note the error message; DESKTOP-LTE4439+resource@DESKTOP-LTE4439 MINGW64 /c/docker/teste $ docker-compose up postgres is up-to-date Starting teste_java_1 ... done Attaching to postgres, teste_java_1…
-
1
votes0
answers488
viewsJenkins pipeline job, to rise container Docker, is not working
I am running on a local machine, just for study, on Windows 7 I am with a project in Jenkins (pipeline), which goes up a Docker image, but when I build the build, it is returning me this error:…
-
1
votes2
answers1943
viewsProblems accessing the application from the browser
I want to be able to access/view my applications through the browser using Docker. I installed Docker for Windows, did not make any additional configuration, and created the files below, along with…
-
1
votes1
answer1180
viewsDocker Database Connection Problem
I migrated my application to a Docker container, it was working all right, until a moment I had to change the bank’s population scripts and recreate the bank, but I had this problem that I do not…
-
1
votes1
answer244
viewsHow to run background applications using Docker?
I’m trying to run my Python application inside a container, only I need to install a proxy dependency that I use: Luminati, the problem is that apparently luminati is not running in the background…
-
1
votes1
answer359
viewsAdd PHP Extensions to Docker Compose
what would be the best way to add PHP extensions such as the GD library and more directly into Docker-Compose.yml? My file is as below: nginx: image: tutum/nginx ports: - "80:80" links: - phpfpm…
-
1
votes0
answers55
viewsWhat’s the difference between Export and Save
I need to save the changes I made to an image in the container, and I wanted to understand the difference: docker export <CONTAINER ID> > /home/export.tar docker image save [OPTIONS] IMAGE…
-
1
votes1
answer483
viewsHow do for a Docker container to resolve a HOST DNS name?
On my HOST server I put in the file /etc/hosts the input: 192.168.9.9 server_1 I need you inside a Docker container, if I call: wget server_1:1234 , it accesses port 1234 of ip 192.168.9.9 (is the…
dockerasked 5 years ago Israel Zebulon 1,758 -
1
votes3
answers354
viewsHow to hide sensitive information in Django?
In my Django project I have some sensitive variables, which I need to 'hide'. In general, save them in a file . env and read them with DADO_SENSIVEL = os.environ.get("DADO_SENSIVEL", default="")..…
-
1
votes1
answer388
viewsHow to generate graphana container correctly?
I installed the graphite container via Docker as follows : docker run -d --name=grafana \ --restart always \ -p 5000:3000 \ -e "GF_SERVER_PROTOCOL=http" \ -e "GF_SERVER_ROOT_URL=http://meuIP" \ -e…
-
1
votes0
answers46
viewsError loading container in Docker-Compose: `Cannot start service php-fpm: Apparmor...`
It was working normally on my Ubuntu since last week, no update was made, and now, when I try to assemble containers using Laradock, get this: $ docker-compose up -d apache2 mysql Starting…
-
1
votes0
answers198
viewsCommand 'Curl localhost' returning 'Curl: (52) Empty reply from server'
Good afternoon! The following is a description of the scenario: I’m using the corporate laptop, when I run the same command without being logged in to the VPN it returns the container page I created…
-
1
votes0
answers96
viewsPDO Driver for Postgres Docker, does not install
I set up a PHP + Apache environment using Docker (so far everything OK), however, I noticed that PHP does not come with the PDO_PGSQL driver installed in the image.. I searched, found some solutions…
-
1
votes1
answer87
viewsWhy use Docker to program?
Using a Docker container for a database is easy to understand the need, because I don’t need to install anything on my machine, everything is in the container. But what I don’t understand is the…
-
1
votes1
answer44
viewsHow to copy files from a Docker container to your local desktop
I am trying to copy a file from inside a Docker container using the following command: docker cp container_id:app.txt ~/desktop/app.txt But it returns me the following error: invalid output path:…
dockerasked 3 years, 8 months ago Gustavo Vergilio 91 -
1
votes1
answer414
viewsDocker creating root volume as owner
I am trying to install the Laravel using the official image of the Composer, this is the command: docker run -it --rm --user $(id -u):$(id -g) -v $(pwd)/src:/src composer create-project…
-
1
votes1
answer290
viewsWould the Docker in Laravel be the same as the Laragon?
Guys I’m having a doubt, I’m a beginner in Laravel I’m using Laragon as a virtual host to open the projects in the browser, but to hear of a Docker I researched about it and it seemed to me the same…
-
1
votes1
answer125
viewsDocker-Compose Tomcat - mapping external directory
I have an application running on Tomcat where when I upload an image, it saves in "portal/WEB-INF/classes/Static/img" which is a directory within my application. The problem is that when I update…
-
1
votes0
answers77
viewsError installing Nginx on Docker
When I install Nginx on Docker, the error below occurs and Nginx does not start. I was not having this problem before. You’ve been through it? Follow below the procedure I follow: Versão do S.O…
-
1
votes0
answers143
viewsXdebug container does not connect with Visual Studio Code
I am having problems trying to debug an application that is running in a container using Xdebug. Apparently, Xdebug does not connect to my IDE even though I am listening to port 9001. I am using…
-
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
answer45
viewsRead timed out when running Sonarscanner using Jenkins
During the execution of an analysis of the Sonarscanner integrated into the Jenkins, the following message is required on console output: INFO: EXECUTION FAILURE INFO:…
-
1
votes0
answers40
viewsDocker: How do I refer a service defined in a container in another?
I have some sites in a VPS running with Docker-Compose, on the same network and using proxy. The structure is more or less this: . ├── nginx-proxy │ └── docker-compose.yml └── blogs └──…
-
1
votes3
answers332
viewsContainer problem on Docker
Good I had set up a postgress container yesterday working normally, but today I went in and use the Docker ps and does not list any container, I tried to create a Docker container again using: >…
-
1
votes0
answers90
viewsDoubt about CI/CD to build and release Docker containers?
I am building a Docker container release pipeline in Gitlab and Azure Devops. But I came across the following situation: Step do build: docker build -f ./caminho_docker_file -t nome_minha_imagem .…
docker docker-compose gitlab continuous-integration azure-devopsasked 5 years, 2 months ago Luiz Lanza 600 -
1
votes1
answer117
viewsHow to connect a python container Docker to a sqlserver
I want to create a python3 container that can connect to a SQLSERVER, I’m using Django in my application and it doesn’t have a native driver to make that connection. I created an image to configure…
-
1
votes1
answer201
viewsexecute Docker/Docker-Compose commands on external folder
I created a simple LAMP server using Docker/Docker-Compose, I was able to initialize the containers pointing to an external folder to which the Docker files are, the problem is that I need to run…
-
1
votes0
answers45
viewsPerform automatic backup using Docker
My application is composed of Frontend (Vue.js) + Backend (Node.js with postgresql bank), before playing in production I dockerizei using Docker and Docker-Compose. The file below is…