Questions tagged as 'docker'

2
answers

I can not ping a docker container

I'm running docker on windows 10; I have two containers configured on which I can not ping: > docker inspect -f "{{.NetworkSettings.IPAddress}}" app_nginx 172.17.0.3 Al hacer ping, sale tiempo de espera agotado. Al hacer ipconfig: Ada...
asked by 17.01.2017 / 04:20
1
answer

docker-compose does not update the image

I have an image with code that I need to update very often. In order to see the new changes I have to delete the containers and create a new docker-compose. Is there another way to do it?     
asked by 03.04.2018 / 18:33
1
answer

Docker container error Waiting for headers

The error happens when a Docker container does not have access to the internet and being "peeled" without almost any application, text editor, you can not solve the problem inside. I leave the solution because it took me a lot of work to fin...
asked by 11.08.2018 / 01:46
1
answer

docker does not connect with local mongo

I have a basic node container ROM node:boron RUN npm install EXPOSE 1337 CMD ["npm","start"] but when you launch it, try to connect with mongodb://localhost:27017/my-bd which is a local mongo on my mac ... This generates the follo...
asked by 25.03.2018 / 13:08
1
answer

Execute lumen migration using docker

I have a'docker-compose.yml' file where I have: MYSQL and php separated in containers. I enter the container with php, to execute the command'php artisan migrate', in the first instance it tells me that the pdo_mysql driver is missing, that I...
asked by 25.12.2018 / 07:07
1
answer

Using Docker and Laravel I have this error with MySQL: "SQLSTATE [HY000] [2002] No such file or directory"

I have an app in laravel 5.2 that connects to my mysql local database, without problems. But, when placing the app inside a docker container, it can not connect to the database and I get this error: SQLSTATE[HY000] [2002] No such file or dir...
asked by 29.11.2018 / 20:10
2
answers

How do I access a Docker container on my computer (Windows) on a Raspberry Pi 2 via SSH?

I want to connect via SSH from my computer to a specific container in my Raspberry Pi. The container already has ssh-server and allows me to connect to it from the Pi but not from the computer. I have used statements to modify NAT as: s...
asked by 08.03.2017 / 16:38
1
answer

Access Denied "failed to register layer: ..." Docker 1.12.3 on Windows 10 Pro

I am trying to create docker containers in a Windows 10, but I always get the following error:    "failed to register layer: rename C: ....." I can not find any thread that explains it I put the trace of the pull: Using default tag:...
asked by 12.12.2016 / 12:10
1
answer

How can I configure environment variables within docker-compose

Greetings colleagues, I am trying to configure a file docker-compose.yml , with the following commands: nginx: restart: always build: ./nginx/ ports: - "80:80" volumes: - /www/static volumes_from: - web links:...
asked by 18.10.2016 / 04:53
1
answer

How to map another port to an existing porter?

I'm starting to use docker, I created a container, when I ran it, I mapped port 8080: 80, because I only needed an Apache server, the problem is that I installed webmin and it runs in port 10000, how Can I add the 10000: 10000 map to the contain...
asked by 21.05.2018 / 02:37