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
answer529
viewsLocalstack starts on Docker, but I can’t access
I run a "Docker Compose" to start a localstack instance with the S3 service. It raises normally, but when trying to use AWS CLI to access it I get the following error: > aws…
-
1
votes1
answer58
viewsPHP xdebug3 with Docker in Ubuntu 20.04 does not work
Good afternoon Devs all right, I’m having trouble trying to run Xdebug with Docker on Ubuntu 20.04. Below follows my config. Docker-Compose.yml version: '3.7' networks: supervisao: services: nginx:…
-
1
votes0
answers23
viewsHow do I access an application that is running in a Docker container?
is my first post here, I hope you can help me. Environment: Windows 10 Angular Docker for windows git bash Problem: I’m learning to use the Docker. To make the proof of concept, I created an angular…
-
0
votes2
answers125
viewsDocker, does it make sense to use a provisioner?
Next, I have done a more in-depth study on software provisioning with tools like Puppet, Chef and Ansible. I wonder if it makes sense to use them with Docker?
-
0
votes1
answer456
viewsProblem using a Docker container with "port Exposure" on Windows
I installed Docker on Windows these days but am having several problems running my container. Even with it standing, I can’t access the project from the browser using the Docker-machine IP, this is…
-
0
votes1
answer1219
viewsHow to pass password in the Docker run
I have in my Docker file a command that I clone using git, I am using the: ENV USUÁRIO \ SENHA Over there (inside the dockerfile) I’m calling these ENV: RUN git clone git clone…
dockerasked 8 years, 5 months ago Thiago Tibau 493 -
0
votes1
answer972
viewsHow to handle database working with Docker?
I started working with docker recently and there is a doubt and in a preparation for an environment wordpress lamp , I stumbled upon climbing my bank and my files . The idea was to leave everything…
-
0
votes1
answer276
viewsCreate an ISO in Docker and you don’t have it in the hub.Docker
I am in doubt about Docker, because I already use Vmware and virtualbox well, in this case I wanted to install a Firewall OPNsense and I realized I don’t have a container prepared in the Docker and…
dockerasked 8 years, 2 months ago iLeonardo Carvalho 561 -
0
votes1
answer433
viewsPlace a function inside the ENV in the Dockerfile
I need to create a Variable that captures the Gateway from the Docker network interface, follow the command: RUN declare -x SERVER_IP=$(ip route|awk '/default/ { print $3 }') ENV…
dockerasked 7 years, 11 months ago iLeonardo Carvalho 561 -
0
votes1
answer538
viewsInitializing services in Docker container
I have the following problem: I have a Docker image of Ubuntu with Openssh-Server up and running normally. I created a Wildfly image, such creation used as base the Ubuntu image with Openssh-Server…
dockerasked 7 years, 10 months ago Marcos Oliveira Soares 34 -
0
votes1
answer293
viewsHow to create the Docker file from a Maven java SE program?
I actually wrote a Java SE Maven application using netbeans and made a CRUD for some entities that are scanned in the database through JPA. I was wondering if it is possible to run a textual…
-
0
votes1
answer28
viewsDocker-Compose does not use Eval purchased env
Personal talk, I have a very strange atmosphere. I’m starting with Docker yet. What I want is to run a Docker-Compose on a swarm-master that was created in the local virtual box (via…
dockerasked 7 years, 9 months ago Diogo Peixoto Martinez 11 -
0
votes1
answer1334
viewsWhen I run Curl to localhost:8080 it cannot communicate
When I run Curl to localhost:8080 it cannot communicate $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $data);…
-
0
votes0
answers282
viewsCreate super user inside a Docker container that this used with Compose
I have a Jango project that is running with Docker-Compose, what I need to do and very simple, run python Manage.py createsuperuser, however, even setting the command via dockerfile or in . Compose…
-
0
votes1
answer228
viewsDocker - An error occurred
I can’t run the Docker I installed on Windows 10. Both the Bios and Hyper-V are enabled, but it still doesn’t run. Hardware Assisted Virtualization and data Execution Protection must be enabled in…
dockerasked 7 years, 8 months ago Wilson João da Silva 67 -
0
votes0
answers774
viewsAttributeerror: 'Nonetype' Object has no attribute '_product'
I’m trying to do a project with Python and Docker, but I’m having some programming problems. I have 2 error files that are Provisionops.py and Dockerops.py. Follow the Provisionops.py…
-
0
votes1
answer399
viewsDocker is not running
Good night, you guys I installed the Docker and created some container, my computer crashed and after restarting it while trying to run the Docker command returns the message: Is Docker daemon…
-
0
votes1
answer296
viewsDocker - Redirect DNS to another DNS
Hello, I am migrating a very old system made in PHP 5.2, but it does not have 1 file for database configuration, so all connections to the database and done locally in all files, which would be…
-
0
votes2
answers363
viewsSet domain to Docker-Compose container
I’m starting to use Docker-Compose and would like to know how to set up a domain for my apache container via Docker-Compose.yml? Currently to access my container I type localhost:3000. cms:…
-
0
votes0
answers32
viewsDebug . net core application in Docker in windows 7
I need to generate an application in a Docker container, but my computer has windows 7 OS. I installed Docker Toolbox, and inside the bash itself I can run hello world container, but visual studio…
visual-studio debug docker asp.net-core visual-studio-2017asked 7 years, 4 months ago Weslley Rocha 169 -
0
votes2
answers579
viewsHow to make Curl between containers?
I started using Docker a short time ago, probably why I got stuck in this problem. I have a API and a Front who keeps making requests via Curl for her. But when I put these projects on Docker and…
-
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
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
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
votes0
answers44
viewsContainer Apache + Nodejs, how to create?
I climbed a container with Apache + PHP, however, I need to use the Laravel-mix, soon need the npm and nodejs. Everything works ok, however, at a certain point I saw that the container restarted,…
-
0
votes0
answers99
viewsHow to backup a custom image?
When backing up a custom image, which is based on another. Docker handles this dependency, i.e., exports both?
dockerasked 7 years, 1 month ago Fábio Jânio 3,407 -
0
votes1
answer178
viewsContainer Docker does not starta "no space left on device"
I am facing the problem with Docker I had a container that was running when it hit the 10G, and without knowing it I of a stop in it and now it does not start. # docker start ambient-dev Error…
dockerasked 7 years, 3 months ago José Geraldo 31 -
0
votes1
answer278
viewsDocker Laravel Map folder
Good afternoon. I’m trying to create a development environment with sublime, Docker, Portable. The image that I downloaded from the Docker hub, comes with debian, php, already isontalized Laravel.…
-
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
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
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
answer973
viewsHost cannot find Docker’s ip. How to fix it?
The host is a MAC OS with Docker installed and a container with php and Xdebug configured. I try to start a debug session in Intellij but it is not working. My hypothesis is that since the host…
dockerasked 7 years ago zwitterion 2,876 -
0
votes1
answer261
viewsAccess built-in php server from Docker in Host
Good people to studying Docker here and along with this I want to create a php server (by your built-in server) and then access this server from my host machine. I executed the following command:…
-
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
answer36
viewsI can’t override a Docker variable. How to resolve?
I have this next dockerfile: ... ENV REMOTE_HOST abcd RUN figlet SETTING__XDEBUG__php.ini RUN { \ echo '[xdebug]'; \ echo…
-
0
votes1
answer1224
viewsHow to run PHP + Firebird on Docker?
I’m trying to run/create a container in Docker with PHP + Firebird, I found a container that runs the Firebird, I found another that runs PHP and Firebird, but when I try to consume the database:…
-
0
votes1
answer97
viewsError installing Laravel 5.6 with Docker
I’m trying to set up the laravel 5.6 in the image of Docker, but when executing the command: docker run -it --rm \ -v $(pwd):/app {user_dockerHub}/docker-laravel \ composer create-project…
-
0
votes1
answer341
viewsIs there a difference in "connecting" to the container via Docker attach or Docker exec?
My question is: is there a difference in "connecting" to a container using the instruction docker attach and docker exec -it container /bin/bash? My container was created this way: docker run -it -p…
dockerasked 6 years, 10 months ago Fábio Jânio 3,407 -
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
votes0
answers40
viewsNGINX - ERR_TOO_MANY_REDIRECTS when rewriting htaccess rules
I am trying to convert some htaccess rules to NGINX and am getting ERR_TOO_MANY_REDIRECTS. The htaccess code is this https://pastebin.com/UwGnNybj Options +FollowSymLinks -MultiViews # Secuirty…
-
0
votes1
answer72
viewsRedmine, Docker and container view
Well, I’m totally new to Docker and I’ll try to be as brief as possible. I have a container with Redmine, to do the process I’m wanting I need to put in Redmine the path to a directory, my doubt is…
-
0
votes2
answers1756
viewsHow can I automatically execute a script when creating a container?
I have the following need: when creating a new container I would like to automatically run the script /usr/local/bin/start inside the image, this script basically checks whether the variable…
dockerasked 6 years, 10 months ago Fábio Jânio 3,407 -
0
votes2
answers104
viewsDisable/delete Docker container marked with Restart: Always
I started a service on Docker with the image of the db icon, follow Docker: version: "3.1" services: mongo: image: 'mongo' container_name: mongoapp restart: always image: mongo volumes: -…
-
0
votes1
answer45
viewsI need help on the Docker
Hello, I created my Dockerfile and added some functions, but I need to execute a command inside it and I can’t. Java CMD -Xmx$SERVER_RAM -Xms$SERVER_RAM -jar $SERVER_JAR nogui (it starts and appears…
-
0
votes1
answer137
viewsError uploading mysql container (with volume)
Good evening. I’m learning Docker and can’t move up a Mysql container when I add a mapping volume. Follow the errors and the Docker-Compose.yml file below. I am using Docker Toolbox in Windows 10.…
-
0
votes1
answer218
viewsBotpress installed one version, displaying the other at the start of the application
I’m trying to run version 10 (develop/x) of botpress, but every time I give start he displays the version 1.1.13 root@3900662b3eb1:/bot# bp start 18:49:25 - info: Starting botpress version 1.1.13…
-
0
votes1
answer119
viewsScalability with Pm2 or Docker?
Good afternoon, I have a question about the differences.. I have an architecture Back Nodejs, Redis Frontend Vuejs What’s the difference between putting to climb with Docker swarm and putting PM2..…
-
0
votes1
answer158
viewsMount container folder to host
Good afternoon, folks, I’d like some guidance on creating an image and Compose. I am preparing an environment for the java development team with eclipse toncat java and initial Workspace. I thought…
-
0
votes0
answers285
viewsDocker - Access the container by IP in windows
I have Docker installed in windows 10. When running Nginx I can access the address http://localhost:8080/. However, when using the command below: docker inspect -f '{{range…