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
-
24
votes1
answer6515
viewsDocker vs Vagrant, what are the main differences?
I recently had an outbreak of interest in the tool Docker. I am aware that Docker and Vagrant are virtualization solutions, however, with different approaches. In my study there were some doubts…
-
23
votes4
answers1103
viewsWhat is the Kubernetes?
By my understanding is a tool for managing containers in applications that demand variations in the production environment. From this, I raised the following questions regarding the use of the same…
-
19
votes1
answer294
viewsError running container (Docker) with browser-Sync
I get this warning when I give start in my container with browser-Sync: [BS] Watching files... (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Exited…
-
16
votes3
answers652
viewsDevelopment process with Docker
I understand the basic concept of Docker and its advantages but I doubt how it is used in the development process, these doubts are: Technically Docker generates "machine snapshot" so all developers…
dockerasked 8 years, 4 months ago Daniela Morais 4,687 -
15
votes4
answers5515
viewsDockerize Java Web App: Maven + Tomcat + Docker
I have often seen several tutorials from Docker stop up "ready" services, but I see few related instructions on how to use it within the development flow. Mainly on compiled languages as an example…
-
11
votes2
answers1867
viewsDifference between VM and LXC Containers
Hello, I am looking to understand what is the difference between VM and LXC Containers? Everything I read sounds a little abstract and the end result seems to be the same.
-
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?…
-
9
votes3
answers2587
viewsWhat are the advantages of using Docker instead of Vagrant?
I’ve been using Vagrant and I’ve been hearing good things about Docker. I am a developer of web applications. What are the advantages of using Docker instead of Vagrant in a software development…
-
9
votes1
answer971
viewsHow do "Docker" and "containers" (LXC, LXD) work?
I saw this question Difference between VM and LXC Containers, but her focus is a comparison between VM and containers. What I’d like to know is a little more about containers like Docker, LXC and…
dockerasked 8 years ago Guilherme Nascimento 98,651 -
9
votes2
answers1354
viewsWhat are the differences between an image and a container?
I’m reading about the Docker and I was confused about what a container and a image, the understanding of both are not clear to me. Questions What is a container in the context of Docker? What is an…
-
5
votes2
answers321
viewsFriendly url between containers/Docker images
I have some projects already ready that will use Docker, but they will be in separate images. The question is as follows: It is possible for other images to be accessed through a "friendly url".…
-
5
votes2
answers390
viewsWhy use Docker in Azure?
This year I saw that Azure provided a container service called "Azure Container Service". This service, among other things, allows you to use Docker in Azure. It turns out that Docker is a container…
-
5
votes2
answers183
viewsDocker Compose image container
How to connect 3 images in Docker-Compose ? i would like Elasticsearch, Kibana and panthomJS to be inserted in only 1 container, but I only got Elasticsearch with Kibana. How can I do that? Any…
-
5
votes1
answer2458
viewsResolve Problem with Docker for Windows
I am not able to start Docker on Windows, I already remade the installation process plus the error reported is the same. Since virtualization is active on my workstation. Follow the basic…
-
5
votes1
answer2838
viewsDocker Compose Link
I am using Docker Compose to climb a set of three containers "Selenium Grid": selenium-hub: image: selenium/hub container_name: selenium-hub ports: - 4444:4444 nodeff: image: selenium/node-firefox…
-
5
votes1
answer647
viewsConnecting Go with Mongodb using Docker
I am creating a microservice in Go, using Mongodb as a database and using the library mgo. Using Mongodb in a Docker container locally and running the application on my machine, everything works…
-
5
votes2
answers872
viewsHow to prevent http auto-redirect to https?
My web development container uses the image php:7.1-apache. To make it easier to memorize the address of the applications contained in this container, I like to edit my machine’s Hosts file and make…
-
4
votes1
answer152
viewsHow to identify in a shell script, which is the Docker command that is running
I created this image (https://hub.docker.com/r/keviocastro/elgg-docker/~/dockerfile/) setting up an environment for a social networking web application. This application requires a link to a Mysql…
-
4
votes1
answer204
viewsLinux image in Docker?
I’m trying to understand the concept of Docker but it’s still a little confusing for me. Docker would be an image generator/emulator that can be managed in the cloud? If so, I believe I have…
dockerasked 7 years, 2 months ago gabrielgrs 457 -
4
votes2
answers2564
viewsDoubt about marking "volumes" inside the Docker-Compose.yml
The Docker-Compose.yml below has been taken from the Docker documentation itself. My question is: why inside the db container we have the reference of volumes and at the end of the file the same…
-
4
votes1
answer2689
viewsHow to access the local host from a Docker container?
I’m starting now with Docker and I’m lost in a small detail, I mounted an Ubuntu image with Apache, PHP 7 and the extension connection with SQL Server. How do I access the SQL Server server if it is…
-
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
votes0
answers43
viewsHow to make a container deploy by Azure portal?
How to deploy a Docker container to Azure only using the portal? All the explanations I see are using the AZURE CLI, I would like to know if there is a way to do it without using the AZURE CLI.…
-
4
votes2
answers87
viewsUpdating OS packages from a Database container
I am redoing a Zabbix server here at the company, where I will upgrade from version 3.2 to 4.0 I’m thinking of using Docker to make life easier, since Dockerhub has images for Zabbix-Server, for…
-
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…
-
4
votes1
answer161
viewsDocker Registry local error: No such image: localhost:5000
Good morning to all, I’ve had a problem for two days that I haven’t been able to solve. I built an environment with 3 machines, with Docker swarm, one machine manager and two nodes. The problem,…
dockerasked 5 years, 10 months ago William Borgo 145 -
3
votes0
answers65
viewsWP-CLI and Drush in isolated Docker containers
I’m starting to use Docker contêneres to instantiate local development environments, mainly for Wordpress and Drupal. Two tools that I use a lot in my workflow are wp-cli and drush. Following the…
-
3
votes2
answers539
viewsDocker during the development
I started to study the use of Docker and a question arose that I still can not understand: Imagine that I have a python script that I want to run inside my container, so I go there and create the…
dockerasked 7 years, 4 months ago José Henrique Luckmann 1,084 -
3
votes2
answers219
viewsContainer LAMP with Debian Stretch
I performed some searches on the internet and found no instructions for mounting a LAMP container using the official Debian Stretch image (https://hub.docker.com/_/debian/). The idea would be to…
-
3
votes1
answer249
viewsWhat are the differences between Container(Docker), App Service(App service) and Fabric Service in Azure?
When we publish an application, service or Web API we now have a wide range of options. I particularly like Azure for its mindset of facilitating settings across the dashboard and shifting…
windows-azure asp.net-web-api docker microservices azure-app-serviceasked 7 years, 3 months ago Alexandre Cavaloti 2,225 -
3
votes1
answer1815
viewsWhat is the real usefulness of Docker-php-ext-configure and Docker-php-ext-install?
I’m taking the first steps with Docker, soon came the question, what is the Docker-php-ext-configure and Docker-php-ext-install? Example: RUN apt-get install -y libpq-dev libsqlite3-dev RUN…
dockerasked 7 years, 1 month ago Fábio Jânio 3,407 -
3
votes2
answers4601
viewsWhere is php.ini being loaded from in this instance of Docker?
I’m running an instance that comes from this Dockerfile. Here’s some of my phpinfo: As we can see Configuration File (php.ini) Path is pointing to /usr/local/etc/php. This value was passed on line…
-
3
votes1
answer419
viewsHow to list containers in Docker?
I recently started testing on Docker, created a virtual machine and installed Debian 9 without a graphical interface. I know the command: docker ps Shows the running containers, there are other…
-
3
votes2
answers1212
viewsNginx does not show index php
So guys I think it’s some configuration on the server that’s not showing the error page, I’m running a docker-compose that "goes up" a container php, mysql and Nginx but when accessing localhost…
-
3
votes3
answers91
viewsBy generating a Docker container, are we lifting a virtual linux passkey in the background?
A container is necessarily tied to a virtual machine, or it is independent?
-
3
votes0
answers216
viewsapache/nifi Docker and postgresql Driver
I pulled apache/nifi on the Docker hub. I start the container, but I can’t configure the connection with postgres, It triggers an exception that cannot load the Database Driver. I copied the file .…
-
3
votes1
answer2430
viewsError Response from daemon: failed driver External Connectivity on endpoint
Someone’s been through this mistake? I’m trying to run the postgres via Docker but prints an error. sudo docker start database Error response from daemon failed programming external connectivity on…
-
3
votes1
answer76
viewsRun adb in multiple Docker containers
I have four phones connected via USB. I have two containers docker running on my machine and each of them has a adb spinning. Adbs select cell phones randomly, I would like to map two cell phones to…
-
3
votes0
answers54
viewsProblems running Java Application on Docker
I have the following problem. I created a container with 1GB of memory and 16GB of Swap, I am using Oracle JDK 8 Update 171 (64 bit) with S.Debian 9. Set the Java_opts parameters for the JVM to read…
-
3
votes1
answer140
viewsEdit mysql ini in container
I’m using Docker to generate a LAMP. Man yml is like this: web: image: tutum/apache-php ports: - "80:80" links: - db volumes: - $PWD:/app db: image: mysql environment: - MYSQL_ROOT_PASSWORD=…
-
3
votes1
answer1362
viewsExchange default address used by Docker (172.17.0.1)
I would like to exchange (or remove) the 172.17.0.1 address used by the Ocker networks, has how to do this? I use Docker for php development and have a remote repository (git) configured via a VPN…
-
3
votes1
answer1932
viewsHow to access the postgres of a Docker image?
Greeting, I just created a Docker image of the Postgresql database with some additional settings as shown in the command below: docker run -p 15432:15432 --name kwandb -e POSTGRES_USER=postgres -e…
-
2
votes2
answers2468
viewsHow to edit my JS files inside Docker container using Sublime 3?
I am using Docker 1.7 on MAC OSX and have created a container with an Apache and a WEB application. I would like to edit JS fonts using Sublime Text 3. How can I do that ?
-
2
votes1
answer2508
viewsHow to change the Docker subnet?
I am in a network that uses the IP range 172.17.42.1, unfortunately the same as Docker. Because of this I can no longer access my local network because the two networks conflict. Docker IP address…
dockerasked 9 years, 2 months ago Bruno Wego 1,568 -
2
votes2
answers372
viewsDocker remote management
I am developing a solution (application) that basically creates a Webservice for communication between an Android app and a database. My question now is how I will manage and distribute this…
-
2
votes1
answer2399
viewsWhen to use ADD or COPY to copy files to a Dockerfile?
Dockerfile syntax has two instructions for copying files: ADDand COPY. Both copy files to the container. When to use each?
dockerasked 7 years, 6 months ago Joaquim Oliveira 218 -
2
votes2
answers3258
viewsPoint domain to a Docker container with apache
Talk personal, I’m starting to use Docker, but I still have many questions and one of them is how to point a domain to a specific container. First I created a Container with a php and apache image…
-
2
votes1
answer324
viewsHow to expose UDP ports in the Docker-Compose configuration file?
I have the following file docker-compose.yml and would like to expose some of the doors as UDP. version: "3.0" services: myservice: image: "my/service" ports: - "40061:4061" - "40062:4062" -…
-
2
votes1
answer435
viewsWith Docker, should I use Composer in the container or host?
I have some questions about the development environment. I have a project in Laravel and I’m using Docker. When using Composer or Artisan from Laravel, what is the right place to do this? On my host…
-
2
votes1
answer966
viewsWhat are the steps to create a Docker image for Ubuntu 16:04, php 5.6 and apache (with Composer, Xdebug, phpunit, npm and REDIS)?
I’m a beginner in Docker and I’m trying to create an image with the following specifications: The source OS has to be the original Ubuntu 16.04. I cannot use images already available in the Docker…