Most voted "docker-compose" questions
Docker-Compose is a tool that assists the use and configuration of multiple Docker containers, assisting configuration from development to production environments.
Learn more…114 questions
Sort by count of
-
0
votes1
answer213
viewsSet port automatically Docker
I’m using Docker to develop my web applications, but I realized I need to run several projects at the same time on my machine. Since these projects basically need the same containers, which are…
-
0
votes1
answer766
views404 in Docker NGINX container
Hello fellow developers! I am having a problem with NGINX in which the root of the application is not found, remembering that I need a "mod_rewrite" to make my Urls beautiful. I will leave the NGINX…
-
0
votes1
answer206
viewsOpen interactive terminal
I have the following Docker-Compose: version: "3.3" services: mysql: image: mysql:5.7 environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: mydb MYSQL_USER: root MYSQL_PASSWORD: root restart:…
-
0
votes2
answers172
viewshow to ignore a line in dockerfile using dockerignore?
I need to ignore a line on dockerfile using dockerignore or anything that helps me solve a problem. I am sending print of the errors that happened. I need to ignore the following line in…
-
0
votes1
answer186
viewsHow to activate all virtual hosts in a Docker container
Considering the files below, how can I build enable all virtual hosts (present in the volume: . /Apache/)? Docker-Compose.yaml: version: "3.3" services: mysql: container_name: mysql image: mysql:5.7…
-
0
votes1
answer1182
viewsDoubts about communication between containers
I have a question about the communication between containers, in my Docker-Compose I am creating a link between the container web and mysql. This link would be an internal network? If not, it would…
-
0
votes1
answer57
viewsInstall driver Mongo in apache+php container
I rode a container in accordance with the yml down below: web: container_name: "apache" image: tutum/apache-php ports: - "80:80" volumes: - /home/administrador/public_html:/var/www/html restart:…
-
0
votes1
answer125
viewsContainer closes immediately on Docker-Compose
I set up a portable project, created a Docker-Compose below: # v3 syntax version: 3 services: # PHP (apache) blog: image: php:7.1-apache container_name: blog-apache ports: - "8000:80" volumes: -…
-
0
votes2
answers113
viewsHow do I install another Wordpress site using Docker-Compose?
I did the installation of Wordpress within a container no Ubuntu 18.04 lts, through this tutorial here. Worked. Now, I would like to install more than one Wordpress site to create other different…
-
0
votes1
answer319
viewsDocker-Compose to create Lamp with phpunit
I am trying to use Docker-Compose to create a LAMP environment along with phpunit to run php TDD and what I intend to do is the following: run a mysql image 5; run a phpunit image 5; run a php 5.6…
-
0
votes1
answer364
viewsProblems with Findsystemtimezonebyid in Web.API . NET Core in Docker (Linux)
Setting: I am migrating a Webapi to . NET Core, on Windows is running normally. Problem When I am running on Docker (Linux) (Docker-Compose) I am having the following problem: "The time zone ID 'W.…
-
0
votes1
answer475
viewsDocker Postgres:9.4 , how to create schema in the bank once the container starts?
Hello, all quiet folks ? I’m messing with Docker-Compose configuring a system with Docker I’m mapping volumes with *.sh files in the directory /docker-entrypoint-initdb.d/to start basic settings for…
docker-composeasked 6 years, 5 months ago Matheus Freitas 95 -
0
votes1
answer212
viewsError connecting to Mysql with PHP and Docker
I am running the Docker and in the settings step correctly the credentials for the connection to Mysql(Mariadb), but always returns the following error:…
-
0
votes1
answer277
viewsHow to remove single container created with Docker-Compose
I have a file Docker-Compose.yml with various image settings. To upload all I can use the docker-compose up -d and stop docker-compose down, if I only want to upload a configured service…
docker-composeasked 4 years, 9 months ago David 4,330 -
0
votes1
answer1090
viewsAccess database that is outside the Docker environment
I created an Microservices environment, more precisely 5 services, where they are connected to each other and access the same database (Postgresql). After development, I started creating the Docker…
-
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
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
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
votes2
answers258
viewsHow to update or choose a specific version of phpMyAdmin when using Docker-Compose.yml?
Using the file Docker-Compose.yml to ride my containers, I know I can choose any version for the chosen service, for example: mariadb: or mariadb:10.4. But using the settings for phpMyAdmin, if…
-
0
votes1
answer48
viewsWhich directory do I put the files from my website to be accessed through the web server running in a Docker container?
I created a Docker container using Docker-Compose The archive Docker-Compose.yml is in the directory /home//Dockerfolder. The file is configured as follows: #### # ATENTION: # Replace all occurences…
-
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
answer1759
viewsHow to use sqlite3 with Docker Compose
Since sqlite3 banks are only files; And containers, by their own logic of scalability are created and excluded according to need; What is the best way to work with both partners? You see, I’m trying…
-
0
votes1
answer151
viewsMysqli not found in Docker image
I uploaded a PHP application with mysql through docker-compose.yml: version: '3' volumes: data: services: db: image: mysql:5.6 restart: always ports: - '3306:3306' volumes: - data:/var/lib/mysql…
-
0
votes1
answer33
viewsUsing the dockerp-Lamp
I’m trying to user the Docker-Lamp But every time I try to access phpmyadmin with root login and password 123, it gives the following message Não é possível fazer login no servidor MySQL…
-
0
votes2
answers172
viewsDocker conect mysql in another Docker-Compose
I have two Docker-Compose.yml in the first is defined my database: # Docker-compose com banco mysql e postgress junto com phpmyadmin e PGADMIN version: '3' services: # MYSQL db: image: mysql…
-
0
votes1
answer131
viewsError accessing PHP application via Docker
I’m having trouble accessing the application via Docker. I’m getting a "Unable to connect" firefox error when trying to access the localhost:8899 address (ja tentei127.0.0.1:8899 and it also doesn’t…
-
0
votes1
answer166
viewsError running JAR on Docker-Compose
Look at the error; It informs that my JAR file gave error and because of this it was not executed; My file Docker-Compose.yml must be in error, and for lack of experience I am not being able to…
docker-composeasked 5 years, 2 months ago wladyband 4,694 -
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
answer699
viewsConfigure Mysql in Docker container
When I take an SQL file of about 80 Mb and try to dump it in Mysql Workbench He gives: Error Code: 2006. Mysql server has Gone away My Docker-Compose configuration looks like this: version: "3.3"…
-
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
votes2
answers393
viewsHow to create a volume of a single file on Docker?
I want to synchronize a file that is inside my container with my host. I thought of simply creating a volume for the file, getting that way: version: '3.7' services: deathrun: image:…
-
0
votes1
answer387
viewsWhatsapp API does not connect to database
I am beginner in this area of servers, Docker, Whatsapp API, etc. I need to install it in my Godaddy VPS. The Docker is already installed correctly and the Whatsapp api is also installed and…
-
0
votes2
answers103
viewsMy container with Springboot is climbing before the container with Mysql finishes climbing
Docker-Compose.yml version: '3.5' services: marvel-api: build: my-api container_name: my-api depends_on: - my-api-bd restart: always ports: - 8080:8080 my-api-bd: build: my-api-bd restart: always…
-
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
answers24
viewsHow can I allow my SQL Server container created by the Jenkins contaner to get the file view . Bak from my host?
I would like my SQL Server container created by the Jenkins contaner to get the file view. Bak from my host so that I can restore some banks. How can I accomplish this task? Details of my…
-
0
votes0
answers55
viewsHow to use environment variables in Nginx with Docker-Compose?
I have the following code snippet in my Nginx configuration file: location /api/ { proxy_pass http://backend:$BACKEND_PORT/; proxy_http_version 1.1; } And I have the following code snippet in my…
-
0
votes1
answer215
viewsBuild Docker with angular Node
I need a little help with Docker, I need to build to generate an image, but I’m having the following error: Step 9/10 : COPY --from=angular /app/dist/Docker-softplayer /usr/share/Nginx/html ERROR:…
angular docker angularjs-directives docker-compose docker-windowsasked 4 years ago Nasser Othman 11 -
0
votes0
answers14
viewsPermision Dennied Pycharm Docker
I am trying to run Docker from inside Pycharm and get the following error: Permissionerror: [Errno 13] Permission denied:…
-
0
votes0
answers68
viewsDocker Compose - pymongo - server_type:Unknown
I want to place my application in TWO Docker containers. One with mongodb (official image) and one with the Ubuntu image, which runs a series of scripts to populate the database. I’m having trouble…
-
0
votes1
answer20
viewsAppsettings session is not read when running on Docker Container
Refer to Docker-Compose reading of Appsettings. When I run through Docker-Compose, I can’t load the file appsettings. That’s why, only when run by Docker-Compose it does not find the Appsettings…
-
0
votes0
answers18
viewsPython code using ROS in a Docker container
I am a beginner with ROS and am trying to run some Node Listener/talker running a really simple code in python, using ROS in a Docker container. I am following the guide described in:…
-
0
votes1
answer23
viewsWith Docker running a different URL
I have an application running back end with Nestjs, Typeorm and Mongodb and my front end running React. I created a Docker container to run all applications but I have a problem. To run my local…
-
0
votes0
answers29
viewsI cannot use [::1] on Docker using linux
I’m trying to run a container on the local Docker using the address: http://[::1]:31112/, but he can’t connect. If I use the addresses below, I can access: http://127.0.0.1:31112/…
-
0
votes1
answer41
viewsError in Docker-Compose.yml
Good evening guys, I’m having an error in Docker-Compose.yml, the error shown is as follows: and my code is this: version: '2.4' x-database-variables: &database-variables SPRING_DATASOURCE_URL:…
-
0
votes0
answers25
viewsContinuous Integration - Test and PRD on the same server with Docker-Compose and Travis-CI
I have a Java system with Spring running in a Docker container with Docker-Compose. Integration works with Github >> Travis-CI >> Docker (on the server). I’m trying to assemble two…
-
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…
-
0
votes1
answer82
viewsapplication springboot does not connect with mysql in the Docker environment
I’m starting in the container world, and when trying to upload an application developed in Springboot with mysql integration in Docker in an aws ec2, the application does not connect to mysql.…
-
-1
votes1
answer432
viewsDocker: Upload large sql file
People are having problems with Docker. I’m using Docker and the docker-compose to create and configure a web environment quickly and practically. I’ve been using Docker for a while, but I’ve never…
-
-1
votes1
answer171
viewsProblems with php Artisan command using Laradock
Whenever I use the Artisan command of Laravel in my laradock Workspace to create a controller, a model or any other file I can neither save nor delete this generated file, the system (Linux Mint)…
-
-1
votes1
answer203
viewsError accessing mysql Workbench using Docker-Compose
I’m starting to work with containers and I ran into a problem. Configure my Docker-Compose.yml file version: '3.3' volumes: data: services: mysql: image: mysql:5.7 ports: - "3306:3306" volumes: -…