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
-
2
votes1
answer55
viewsProblem with Dockerfile
I’m trying to generate an image, but I’m getting the error: E: Command line option 'O' [from -O] is not understood in combination My Dockerfile: FROM debian:stretch MAINTAINER Fabio J L Ferreira…
dockerasked 7 years, 1 month ago Fábio Jânio 3,407 -
2
votes1
answer1568
viewsDocker - Mysql + PHP error when connecting with mysql
I’m learning a little about Docker, but I had some problems connecting with Mysql. Follow the file Docker-Compose.yml php: build: . ports: - "8082:80" volumes: - ./www:/var/www/html links: - db db:…
-
2
votes1
answer50
viewsHow to make a Docker image of a Node app that uses a private file that requires ssh
Following this guide from the Node.js website to create a Docker image for a Node application, everything works except when you have a private repository for a certain npm package, such as the…
-
2
votes1
answer54
viewsHow to use auto-Reload (browserSync) on Ionic server when in a Docker container?
I performed the installation of the ionic 3.20 in a container Docker. Everything works perfectly, but I’m having a hard time using the auto-refresh, when changing a file the content is not…
-
2
votes1
answer105
viewsMicroservices and Clusters
Good morning. I have a question about clusters and Microservices. What is the right way to deploy microservice, one per cluster? Or it could be more? I will exemplify: I have an app that is formed…
-
2
votes0
answers65
viewsWhat better way to approach Docker for containers like apache, Nginx, mariadb, etc
I’m new to the Docker world and I’m having some doubts about the Docker concept in production. I know that one of the great advantages of Docker is having the same environment that we have in…
dockerasked 6 years, 10 months ago Bruno Passos 81 -
2
votes2
answers584
viewsDoubt regarding the structure of the Docker-Compose.yml file
I have the following file Docker-Compose.yml: version: "3.3" services: mysql: container_name: mysql image: mysql:5.7 environment: MYSQL_ROOT_PASSWORD: senha_root MYSQL_DATABASE: database_name…
-
2
votes1
answer99
viewsHow can I register a route in IIS to my container Docker?
I have a job HTTP which I am making available within a Docker container. So far, for all my services HTTP i created a redirect rule (Rewrite URL) on IIS which allowed my services to be available at…
-
2
votes1
answer231
viewsProblem installing Docker image
I’m installing a container image: microsoft/windowsservercore I am using the following command to download and install the image: docker pull microsoft/windowsservercore But it does not finish the…
-
2
votes1
answer864
viewsSave Request Spring Boot
I’m a beginner at Spring Boot and I need a little help. I want to save an incoming and outgoing request by generating the automated id and saving the date and time, using Docker and Postgres (I…
-
2
votes1
answer202
viewsDocker-Machine create Windows 10: Powershell Problems
I’m trying to create a Docker-machine in windows 10 with the following command: Docker-machine --debug create --driver hyperv default2 full debug: https://pastebin.com/ccAeqYxL But I’m making the…
-
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
votes1
answer983
viewsDocker Compose does not work using proxy
I’m creating a file docker-compose to upload a system with multiple nodes. To start testing, I created only one service in that file docker-compose.yml: version: '3' networks: production-network:…
-
2
votes2
answers761
viewsConnection between two Docker containers
I created 3 containers to start my application, they are: version: "2" services: mysql: image: mysql:5.7 container_name: rgsistema-mysql working_dir: /application volumes: - .:/application…
-
2
votes2
answers99
viewsShould I use a Docker-Compose.yml or multiple
Good morning, The architecture of my project is micro-services that are in Docker containers. In which I have a Docker-Compose.yml file for all micro-services. My question is this: It’s best to have…
-
2
votes2
answers1326
viewsError when connecting mysql instance with nodejs
I raised with Docker mysql container docker run --name mysql-docker -e MYSQL_ROOT_PASSWORD=password -d -p 3306:3306 mysql But when trying to connect via Node node index.js the following error occurs…
-
2
votes2
answers142
viewsDocker: Problem using container IP
Hello, All right? Before long I learned to use Docker and decided to practice the use of mysql and adminer, with the following Docker-Compose I already had the containers standing. version: '3.5'…
-
2
votes1
answer329
viewsError While climbing Docker container
When I give a Docker-Compose up, the container goes up normally, but when I access the localhost, from error 500, the page is not working, and in the console the following error text appears. I’m…
-
2
votes1
answer142
viewsHow to deploy a Windows container to Heroku?
I’m trying to do the deployof a container Windows in the Heroku but I’m having the following mistake: image operating system "windows" cannot be used on this platform On the website of Heroku have…
-
2
votes1
answer55
viewsCan I use Nhibernate with Docker?
I have a personal project on ASP.NET MVC core that supports Docker. I would like to use Nhibernate to persist and retrieve information. In my searches I have not found anyone who uses. I am trying…
c# asp.net-core docker nhibernate fluent-nhibernateasked 5 years, 6 months ago Henrique.Eichstadt 29 -
2
votes1
answer299
viewsHow to run multiple instances of an image on different ports?
I have an image docker door 8080. To execute it I use the following command: docker run -d -p 8080:8080 -e DB_URL="127.0.0.1:BANCO" -e DB_USERNAME="usr" -e DB_PASSWORD="XXXXX"…
-
2
votes0
answers111
viewsContainer Docker cannot access LDAP server
I have an application that needs to access an LDAP (Active Directory) server and running the application locally is working normally, however when running the application inside a Docker container…
-
2
votes1
answer239
viewsError running Docker-Compose up to bring up traefik
After mounting the Docker-Compose.yml as follows: version: '3' services: proxy: image: traefik command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG networks: - webgateway ports:…
-
1
votes1
answer106
viewsBuild failing PHP project in Travis-CI
I’m trying to make night builds of a PHP project on Travis-CI but I’m catching on. My builds are failing because Travis-CI says they can’t find Composer. There are more details in the log below.…
-
1
votes1
answer604
viewsDocker Error: Cannot connect to the Docker daemon. Is the Docker daemon running on this host?
I’m new to Docker and I’m facing a problem when it comes to seeing existing containers or any other information. When running for example : Docker ps. Displays the following error message: Cannot…
dockerasked 8 years, 11 months ago Felipe Menezes 11 -
1
votes1
answer101
viewsLog4j does not log into Docker
I’m starting now with Docker and am doing some testing with a small application. I can upload the application in Docker however, I have the log4j configured to generate the log files in a specific…
dockerasked 8 years, 9 months ago Andre Ramos 11 -
1
votes1
answer3029
viewsLocation container Docker on host
Since I started using Docker last year, to directly access the files in my container I used the following steps: Docker Inspect -f {{. Id}} container_id It returns me the full id container With the…
-
1
votes1
answer103
viewsDocker and Nodejs
I have an application in Nodejs and need to configure the architecture of this application, I am new with Docker and need to create some containers for this application, the application must have…
-
1
votes1
answer132
viewsRestore container base with Postgres
I am using a container with postgres on an EC2 server and want to restore a base in this container via linux command. Any tips? I was trying this way: sudo docker exec -t postgres_94 pg_restore -c…
-
1
votes1
answer2928
viewsHow to update Docker-Compose
Does anyone know how to upgrade Docker-Compose to the latest version? Mine is in 1.5.x and I come across some problems like ERROR: In file './Docker-Compose.yml' service 'version' doesn’t have any…
-
1
votes2
answers997
viewsHow to enable php extensions inside a Docker container
I need to enable Curl but I am using Docker to manage my application. I wanted to know how I could change information from php.ini via terminal, I tried with gedit but did not succeed. Maybe a…
-
1
votes1
answer199
viewsCreate Dockerfile for Zend Expressive
Hello folks I’m having a hard time running the expressive zend with the Docker. I have other projects that work perfectly with Docker but when I try to develop with zend expressive, I can’t, it…
-
1
votes0
answers167
viewsError connecting to pdo_mysql when using Docker with apache and mysql
I’m using Docker with apache 5.6 + mysql: Mysql Oficial Docker PHP Official PHP - Version 5.6 I first ran the mysql image, then ran the following command line to run the apache image, linking the…
-
1
votes1
answer152
viewsHow do IDE communicate with Xdebug inside a container (Docker)?
I have a network of containers created with docker-compose. The Xdebug settings are passed in part by the file .yml and in part by an archive .ini consumed by PHP. I know that Xdebug is installed…
-
1
votes2
answers302
viewsShould I create a container for each site/app or can I put them all in the same one?
I’m starting to study Docker, I’ve been playing a little bit on a VPS server that I have, but still some doubts persist. I already understood that it is good practice to separate the database and…
-
1
votes2
answers485
viewsNetwork interfaces on Docker
In Virtualbox we have the network interfaces, for example, bridge, Nat, with host, etc... My question is, can Docker expose a host-only port? Something that in Virtualbox would be equivalent to the…
dockerasked 7 years, 6 months ago Fábio Jânio 3,407 -
1
votes1
answer283
viewsDocker Ubuntu does not starta
Dear Friends I created a Ubuntu container: And then I started the container Note that above is no error, but the container does not run as shown below…
-
1
votes2
answers3280
viewsConfigure Mysql Workbench on Docker
I want to set up my Workbench so that you can connect to the mysql that is running on my Docker server, but when I try to test the connection, I always get the following error: I created my Mysql…
-
1
votes1
answer288
viewsDocker + Macos : Mount Volume out of root folder or Users
I’m having a problem when it comes time to perform the link mount on the Docker command: docker run -p 5000:5000 -v "$(pwd)/path:/path conteiner_name It turns out that the directory is not mounted…
-
1
votes1
answer259
viewsConvert . log file to . txt in Bash
Hello, I wonder how I can convert a. log file generated in a container in Docker and convert it to a txt file using Bash.
-
1
votes0
answers256
viewsHow to access the root var/www/ directory of a Docker container via the host browser?
I’m starting on Docker. I created an image with the following command docker run -ti -p 80:80 my-image This image is a Ubuntu:14.04 where I installed apache and php5. I checked the root /var/www and…
dockerasked 7 years, 2 months ago zwitterion 2,876 -
1
votes1
answer873
viewsThe operation of Docker Network
I always wanted to have a server so I could learn about Devops and so on.. Here comes an old computer here with reasonable settings: i5, 8GB RAM and 500Gb HDD. I started studying about Docker and I…
-
1
votes1
answer1006
viewsHow to make HTTP access available to my apache web service on Linux
For a simple programmer we are used to creating web servers and working on localhost, my big question is, and when it comes to leaving this server online? Today we have cloud but would like to know…
-
1
votes1
answer63
viewsHow to run a Docker container with private Ownership?
When using portainer.io in version 1.14.2 and listing all containers you can see the Ownership column. Through the portainer interface it is possible to modify to private and change the access…
-
1
votes1
answer470
viewsDocker Compose Link and Network
I’m using Docker Compose to climb my containers in the Docker, the problem I’m having is making the link between a container and another. My Docker Compose: version: '3' services: DB: image:…
-
1
votes1
answer1345
viewsWhere is Docker Store located on Ubuntu?
I’m studying Docker, so this question I’m asking is for a debutante. Images are the files that contain the configuration of the machine you want to create. Container is an instance of this image…
-
1
votes1
answer513
viewsDoes changing the Docker-Compose reflect in the current container?
In case I change the door exposed in mine docker-compose, when rotating docker-compose up -d this change will reflect on the current container?
-
1
votes1
answer3749
viewsHow to expose more than one Docker container port?
I have a Docker container that has redis and Xdebug installed. A Redis client installed on the host needs to access this service through port 6379 and on the host intellij needs to access port 9000…
dockerasked 7 years ago zwitterion 2,876 -
1
votes2
answers1060
viewsDoubts about the Docker-Compose and Dockerfile configuration
I went up a small development environment. There are 2 containers: mysql (mysql:5.7) web (php:7.1-apache) My question is in a configuration parameter of Docker-Compose.yml and Dockerfile…
-
1
votes1
answer385
viewsremove files from the container after build. Can I do this?
How to delete files after build? I am "building" an image with a google cloud key, so I can’t leave this key inside the container, for security reasons. The problem is that if I don’t get it, the…